diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2021-03-01 15:51:01 +0100 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2021-05-01 17:43:34 +0200 |
commit | 5ad4e94b46a618f333a6b1a34ee391c8a6bb40b2 (patch) | |
tree | 15344b313d889d5d5166f37c350f21300bdca184 /arch/sparc/kernel/systbls_32.S | |
parent | sh: syscalls: switch to generic syscallhdr.sh (diff) | |
download | linux-5ad4e94b46a618f333a6b1a34ee391c8a6bb40b2.tar.xz linux-5ad4e94b46a618f333a6b1a34ee391c8a6bb40b2.zip |
sparc: syscalls: switch to generic syscalltbl.sh
Many architectures duplicate similar shell scripts.
This commit converts sparc to use scripts/syscalltbl.sh. This also
unifies syscall_table_64.h and syscall_table_c32.h.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'arch/sparc/kernel/systbls_32.S')
-rw-r--r-- | arch/sparc/kernel/systbls_32.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/kernel/systbls_32.S b/arch/sparc/kernel/systbls_32.S index ab9e4d57685a..3aaffa017706 100644 --- a/arch/sparc/kernel/systbls_32.S +++ b/arch/sparc/kernel/systbls_32.S @@ -9,10 +9,10 @@ * Copyright (C) 1995 Adrian M. Rodriguez (adrian@remus.rutgers.edu) */ -#define __SYSCALL(nr, entry, nargs) .long entry +#define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, native) +#define __SYSCALL(nr, entry) .long entry .data .align 4 .globl sys_call_table sys_call_table: #include <asm/syscall_table_32.h> /* 32-bit native syscalls */ -#undef __SYSCALL |