aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/ia32/syscall_ia32.c
diff options
context:
space:
mode:
authorBrian Gerst <brgerst@gmail.com>2015-03-03 22:31:32 -0500
committerIngo Molnar <mingo@kernel.org>2015-03-04 06:16:21 +0100
commit29a5ff97fa0d8045d262a772c3853e3ef1ed98d8 (patch)
tree2a23b1bed7694d574d622e7836a33382ff7de337 /arch/x86/ia32/syscall_ia32.c
parentx86/traps: Enable DEBUG_STACK after cpu_init() for TRAP_DB/BP (diff)
downloadlinux-dev-29a5ff97fa0d8045d262a772c3853e3ef1ed98d8.tar.xz
linux-dev-29a5ff97fa0d8045d262a772c3853e3ef1ed98d8.zip
x86/compat: Remove compat_ni_syscall()
compat_ni_syscall() does the same thing as sys_ni_syscall(). Signed-off-by: Brian Gerst <brgerst@gmail.com> Cc: Borislav Petkov <bp@alien8.de> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/1425439896-8322-2-git-send-email-brgerst@gmail.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/ia32/syscall_ia32.c')
-rw-r--r--arch/x86/ia32/syscall_ia32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/ia32/syscall_ia32.c b/arch/x86/ia32/syscall_ia32.c
index 4754ba0f5d9f..3429b14793e3 100644
--- a/arch/x86/ia32/syscall_ia32.c
+++ b/arch/x86/ia32/syscall_ia32.c
@@ -13,13 +13,13 @@
typedef void (*sys_call_ptr_t)(void);
-extern void compat_ni_syscall(void);
+extern asmlinkage void sys_ni_syscall(void);
const sys_call_ptr_t ia32_sys_call_table[__NR_ia32_syscall_max+1] = {
/*
* Smells like a compiler bug -- it doesn't work
* when the & below is removed.
*/
- [0 ... __NR_ia32_syscall_max] = &compat_ni_syscall,
+ [0 ... __NR_ia32_syscall_max] = &sys_ni_syscall,
#include <asm/syscalls_32.h>
};