diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-02-04 10:53:18 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-02-19 22:50:34 +0900 |
commit | 500193ec57fddf5e52d64fd7278b37a6afc9f773 (patch) | |
tree | cc822d26a9229adbc3faceb6c6458107ac65c9c9 /scripts | |
parent | 52a849ed8896d733de6005993f34407f7512311a (diff) | |
download | linux-500193ec57fddf5e52d64fd7278b37a6afc9f773.tar.bz2 |
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')
-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"); |