aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/um/sys_call_table_64.c
diff options
context:
space:
mode:
authorMasahiro Yamada <[email protected]>2021-05-25 20:54:20 +0900
committerThomas Gleixner <[email protected]>2021-05-25 16:59:23 +0200
commit1eb8a49836949a77c4f7d738786719e7fde0c333 (patch)
treeae2ff9c1bce44ac85841cc39bdfee32f39f29984 /arch/x86/um/sys_call_table_64.c
parent2978996f620001f4e748c79af0fe89be729ef58d (diff)
x86/syscalls: Clear 'offset' and 'prefix' in case they are set in env
If the environment variable 'prefix' is set on the build host, it is wrongly used as syscall macro prefixes. $ export prefix=/usr $ make -s defconfig all In file included from ./arch/x86/include/asm/unistd.h:20, from <stdin>:2: ./arch/x86/include/generated/uapi/asm/unistd_64.h:4:9: warning: missing whitespace after the macro name 4 | #define __NR_/usrread 0 | ^~~~~ arch/x86/entry/syscalls/Makefile should clear 'offset' and 'prefix'. Fixes: 3cba325b358f ("x86/syscalls: Switch to generic syscallhdr.sh") Reported-by: Naresh Kamboju <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/x86/um/sys_call_table_64.c')
0 files changed, 0 insertions, 0 deletions