summaryrefslogtreecommitdiffstats
path: root/scripts/kallsyms.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-02-04 02:53:18 +0100
committerMasahiro Yamada <yamada.masahiro@socionext.com>2019-02-19 14:50:34 +0100
commit500193ec57fddf5e52d64fd7278b37a6afc9f773 (patch)
treecc822d26a9229adbc3faceb6c6458107ac65c9c9 /scripts/kallsyms.c
parentkallsyms: remove unneeded memset() calls (diff)
downloadlinux-500193ec57fddf5e52d64fd7278b37a6afc9f773.tar.xz
linux-500193ec57fddf5e52d64fd7278b37a6afc9f773.zip
kallsyms: include <asm/bitsperlong.h> instead of <asm/types.h>
<asm/bitsperlong.h> is enough to include the definition of BITS_PER_LONG. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts/kallsyms.c')
-rw-r--r--scripts/kallsyms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kallsyms.c b/scripts/kallsyms.c
index f1b57492adef..03ff265fe522 100644
--- 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");