diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-02-04 02:53:18 +0100 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-02-19 14:50:34 +0100 |
commit | 500193ec57fddf5e52d64fd7278b37a6afc9f773 (patch) | |
tree | cc822d26a9229adbc3faceb6c6458107ac65c9c9 /scripts/kallsyms.c | |
parent | kallsyms: remove unneeded memset() calls (diff) | |
download | linux-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.c | 2 |
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"); |