x86/efi: Enforce CONFIG_RELOCATABLE for EFI boot stub
[linux/fpc-iii.git] / arch / x86 / kernel / syscall_32.c
blobe9bcd57d8a9eb862212351527de3597040e611ba
1 /* System call table for i386. */
3 #include <linux/linkage.h>
4 #include <linux/sys.h>
5 #include <linux/cache.h>
6 #include <asm/asm-offsets.h>
8 #define __SYSCALL_I386(nr, sym, compat) extern asmlinkage void sym(void) ;
9 #include <asm/syscalls_32.h>
10 #undef __SYSCALL_I386
12 #define __SYSCALL_I386(nr, sym, compat) [nr] = sym,
14 typedef asmlinkage void (*sys_call_ptr_t)(void);
16 extern asmlinkage void sys_ni_syscall(void);
18 __visible const sys_call_ptr_t sys_call_table[__NR_syscall_max+1] = {
20 * Smells like a compiler bug -- it doesn't work
21 * when the & below is removed.
23 [0 ... __NR_syscall_max] = &sys_ni_syscall,
24 #include <asm/syscalls_32.h>