summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/kernel/syscall.c
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-03-01 16:36:55 +0100
committerMax Filippov <jcmvbkbc@gmail.com>2021-04-05 00:39:03 +0200
commitdaf2618002356ee1bd2bd0231e251b3a1bffbb8f (patch)
tree33ce532fa0fb8eedaedf1471a1772f09508ae8c0 /arch/xtensa/kernel/syscall.c
parentxtensa: stop filling syscall array with sys_ni_syscall (diff)
downloadlinux-daf2618002356ee1bd2bd0231e251b3a1bffbb8f.tar.xz
linux-daf2618002356ee1bd2bd0231e251b3a1bffbb8f.zip
xtensa: syscalls: switch to generic syscalltbl.sh
Many architectures duplicate similar shell scripts. This commit converts xtensa to use scripts/syscalltbl.sh. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Message-Id: <20210301153656.363839-2-masahiroy@kernel.org> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/kernel/syscall.c')
-rw-r--r--arch/xtensa/kernel/syscall.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/xtensa/kernel/syscall.c b/arch/xtensa/kernel/syscall.c
index 26fa09ce4d17..201356faa7e6 100644
--- a/arch/xtensa/kernel/syscall.c
+++ b/arch/xtensa/kernel/syscall.c
@@ -28,9 +28,8 @@
#include <linux/shm.h>
syscall_t sys_call_table[] /* FIXME __cacheline_aligned */= {
-#define __SYSCALL(nr, entry, nargs) (syscall_t)entry,
+#define __SYSCALL(nr, entry) (syscall_t)entry,
#include <asm/syscall_table.h>
-#undef __SYSCALL
};
#define COLOUR_ALIGN(addr, pgoff) \