mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-29 17:25:38 +00:00
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>
This commit is contained in:
parent
52a849ed88
commit
500193ec57
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user