aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/um/sys_call_table_32.c
diff options
context:
space:
mode:
authorAndy Lutomirski <[email protected]>2015-10-05 17:48:06 -0700
committerIngo Molnar <[email protected]>2015-10-09 09:41:08 +0200
commit034042cc1e2837a584cda0a5e4fc2b0a96b74543 (patch)
tree466f1ada1f215c45ba3cb1ce7c14f4fe5e17f758 /arch/x86/um/sys_call_table_32.c
parent8169aff611956ed360e3313e8c718f530f58f6cb (diff)
x86/entry/syscalls: Move syscall table declarations into asm/syscalls.h
The header was missing some compat declarations. Also make sys_call_ptr_t have a consistent type. Signed-off-by: Andy Lutomirski <[email protected]> Cc: Andy Lutomirski <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Brian Gerst <[email protected]> Cc: Denys Vlasenko <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/3166aaff0fb43897998fcb6ef92991533f8c5c6c.1444091585.git.luto@kernel.org Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'arch/x86/um/sys_call_table_32.c')
-rw-r--r--arch/x86/um/sys_call_table_32.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/um/sys_call_table_32.c b/arch/x86/um/sys_call_table_32.c
index bd16d6c370ec..d738e9c96036 100644
--- a/arch/x86/um/sys_call_table_32.c
+++ b/arch/x86/um/sys_call_table_32.c
@@ -7,6 +7,7 @@
#include <linux/sys.h>
#include <linux/cache.h>
#include <generated/user_constants.h>
+#include <asm/syscall.h>
#define __NO_STUBS
@@ -30,8 +31,6 @@
#undef __SYSCALL_I386
#define __SYSCALL_I386(nr, sym, compat) [ nr ] = sym,
-typedef asmlinkage void (*sys_call_ptr_t)(void);
-
extern asmlinkage void sys_ni_syscall(void);
const sys_call_ptr_t sys_call_table[] ____cacheline_aligned = {