Merge tag 'x86-entry-2020-03-30' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git] / arch / x86 / kernel / asm-offsets_32.c
index 2b4256ebe86ecfd0f9ccf610018709001d14bf62..6e043f295a6053a1d24a0dc9bde0abbceca06eef 100644 (file)
@@ -7,11 +7,6 @@
 
 #include <asm/ucontext.h>
 
-#define __SYSCALL_I386(nr, sym, qual) [nr] = 1,
-static char syscalls[] = {
-#include <asm/syscalls_32.h>
-};
-
 /* workaround for a warning with -Wmissing-prototypes */
 void foo(void);
 
@@ -63,10 +58,6 @@ void foo(void)
        OFFSET(stack_canary_offset, stack_canary, canary);
 #endif
 
-       BLANK();
-       DEFINE(__NR_syscall_max, sizeof(syscalls) - 1);
-       DEFINE(NR_syscalls, sizeof(syscalls));
-
        BLANK();
        DEFINE(EFI_svam, offsetof(efi_runtime_services_t, set_virtual_address_map));
 }