Commit 500193ec authored by Masahiro Yamada's avatar Masahiro Yamada

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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 52a849ed
...@@ -331,7 +331,7 @@ static void write_src(void) ...@@ -331,7 +331,7 @@ static void write_src(void)
unsigned int *markers; unsigned int *markers;
char buf[KSYM_NAME_LEN]; 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("#if BITS_PER_LONG == 64\n");
printf("#define PTR .quad\n"); printf("#define PTR .quad\n");
printf("#define ALGN .balign 8\n"); printf("#define ALGN .balign 8\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment