1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* systbls.S: System call entry point tables for OS compatibility.
3 * The native Linux system call table lives here also.
8 * Based upon preliminary work which is:
13 #define __SYSCALL(nr, entry) .word entry
17 .globl sys_call_table32
19 #define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, compat)
20 #include <asm/syscall_table_32.h> /* Compat syscalls */
21 #undef __SYSCALL_WITH_COMPAT
22 #endif /* CONFIG_COMPAT */
25 .globl sys_call_table64, sys_call_table
28 #define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, native)
29 #include <asm/syscall_table_64.h> /* 64-bit native syscalls */