Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+1 -1
+1 -1
scripts/kallsyms.c
··· 331 331 unsigned int *markers; 332 332 char buf[KSYM_NAME_LEN]; 333 333 334 - printf("#include <asm/types.h>\n"); 334 + printf("#include <asm/bitsperlong.h>\n"); 335 335 printf("#if BITS_PER_LONG == 64\n"); 336 336 printf("#define PTR .quad\n"); 337 337 printf("#define ALGN .balign 8\n");