OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52a849e
)
kallsyms: include <asm/bitsperlong.h> instead of <asm/types.h>
author
Masahiro Yamada
<yamada.masahiro@socionext.com>
Mon, 4 Feb 2019 01:53:18 +0000
(10:53 +0900)
committer
Masahiro Yamada
<yamada.masahiro@socionext.com>
Tue, 19 Feb 2019 13:50:34 +0000
(22:50 +0900)
<asm/bitsperlong.h> is enough to include the definition of
BITS_PER_LONG.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/kallsyms.c
patch
|
blob
|
history
diff --git
a/scripts/kallsyms.c
b/scripts/kallsyms.c
index
f1b5749
..
03ff265
100644
(file)
--- a/
scripts/kallsyms.c
+++ b/
scripts/kallsyms.c
@@
-331,7
+331,7
@@
static void write_src(void)
unsigned int *markers;
char buf[KSYM_NAME_LEN];
- printf("#include <asm/
types
.h>\n");
+ printf("#include <asm/
bitsperlong
.h>\n");
printf("#if BITS_PER_LONG == 64\n");
printf("#define PTR .quad\n");
printf("#define ALGN .balign 8\n");