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. 4 * 5 * Copyright (C) 1995, 1996, 2007 David S. Miller (davem@davemloft.net) 6 * Copyright (C) 1997 Jakub Jelinek (jj@sunsite.mff.cuni.cz) 7 * 8 * Based upon preliminary work which is: 9 * 10 * Copyright (C) 1995 Adrian M. Rodriguez (adrian@remus.rutgers.edu) 11 */ 12 13#define __SYSCALL(nr, entry, nargs) .word entry 14 .text 15 .align 4 16#ifdef CONFIG_COMPAT 17 .globl sys_call_table32 18sys_call_table32: 19#include <asm/syscall_table_c32.h> /* Compat syscalls */ 20#endif /* CONFIG_COMPAT */ 21 22 .align 4 23 .globl sys_call_table64, sys_call_table 24sys_call_table64: 25sys_call_table: 26#include <asm/syscall_table_64.h> /* 64-bit native syscalls */ 27#undef __SYSCALL 28