diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-02-03 20:53:18 -0500 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-02-19 08:50:34 -0500 |
commit | 500193ec57fddf5e52d64fd7278b37a6afc9f773 (patch) | |
tree | cc822d26a9229adbc3faceb6c6458107ac65c9c9 | |
parent | 52a849ed8896d733de6005993f34407f7512311a (diff) |
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>
-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) | |||
331 | unsigned int *markers; | 331 | unsigned int *markers; |
332 | char buf[KSYM_NAME_LEN]; | 332 | char buf[KSYM_NAME_LEN]; |
333 | 333 | ||
334 | printf("#include <asm/types.h>\n"); | 334 | printf("#include <asm/bitsperlong.h>\n"); |
335 | printf("#if BITS_PER_LONG == 64\n"); | 335 | printf("#if BITS_PER_LONG == 64\n"); |
336 | printf("#define PTR .quad\n"); | 336 | printf("#define PTR .quad\n"); |
337 | printf("#define ALGN .balign 8\n"); | 337 | printf("#define ALGN .balign 8\n"); |