diff options
author | Brian Gerst <brgerst@gmail.com> | 2020-03-13 15:51:34 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-03-21 16:03:21 +0100 |
commit | 0872098804b5f44bab91f80b6df55df32894fee3 (patch) | |
tree | 1cfe6e6c1d6a4d5c9c083b288780af56364ca0bb /arch/x86/um/sys_call_table_64.c | |
parent | 2e487c357917b98adc6a6dafa612c435cad1af41 (diff) |
x86/entry: Move max syscall number calculation to syscallhdr.sh
Instead of using an array in asm-offsets to calculate the max syscall
number, calculate it when writing out the syscall headers.
Signed-off-by: Brian Gerst <brgerst@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20200313195144.164260-9-brgerst@gmail.com
Diffstat (limited to 'arch/x86/um/sys_call_table_64.c')
-rw-r--r-- | arch/x86/um/sys_call_table_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/um/sys_call_table_64.c b/arch/x86/um/sys_call_table_64.c index c8bc7fb8cbd6..fa97740badd5 100644 --- a/arch/x86/um/sys_call_table_64.c +++ b/arch/x86/um/sys_call_table_64.c @@ -7,7 +7,7 @@ #include <linux/linkage.h> #include <linux/sys.h> #include <linux/cache.h> -#include <generated/user_constants.h> +#include <asm/unistd.h> #include <asm/syscall.h> #define __NO_STUBS |