systbls_64.S (597473720f4dc69749542bfcfed4a927a43d935e) | systbls_64.S (5ad4e94b46a618f333a6b1a34ee391c8a6bb40b2) |
---|---|
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 | 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 | 13#define __SYSCALL(nr, entry) .word entry |
14 .text 15 .align 4 16#ifdef CONFIG_COMPAT 17 .globl sys_call_table32 18sys_call_table32: | 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 */ | 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 |
20#endif /* CONFIG_COMPAT */ 21 22 .align 4 23 .globl sys_call_table64, sys_call_table 24sys_call_table64: 25sys_call_table: | 22#endif /* CONFIG_COMPAT */ 23 24 .align 4 25 .globl sys_call_table64, sys_call_table 26sys_call_table64: 27sys_call_table: |
28#define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, native) |
|
26#include <asm/syscall_table_64.h> /* 64-bit native syscalls */ | 29#include <asm/syscall_table_64.h> /* 64-bit native syscalls */ |
27#undef __SYSCALL | |