aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm
diff options
context:
space:
mode:
authorAlexander van Heukelum <heukelum@fastmail.fm>2013-03-27 22:18:05 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2013-05-02 20:36:32 -0400
commit5522ddb3fc0dfd4a503c8278eafd88c9f2d3fada (patch)
treedc3ffbbc5f43defb97fe06dc801e3478073ffda3 /arch/x86/include/asm
parent20b4fb485227404329e41ad15588afad3df23050 (diff)
downloadkernel_goldelico_gta04-5522ddb3fc0dfd4a503c8278eafd88c9f2d3fada.zip
kernel_goldelico_gta04-5522ddb3fc0dfd4a503c8278eafd88c9f2d3fada.tar.gz
kernel_goldelico_gta04-5522ddb3fc0dfd4a503c8278eafd88c9f2d3fada.tar.bz2
x86, vm86: fix VM86 syscalls: use SYSCALL_DEFINEx(...)
Commit 49cb25e9290 x86: 'get rid of pt_regs argument in vm86/vm86old' got rid of the pt_regs stub for sys_vm86old and sys_vm86. The functions were, however, not changed to use the calling convention for syscalls. [AV: killed asmlinkage_protect() - it's done automatically now] Reported-and-tested-by: Hans de Bruin <jmdebruin@xmsnet.nl> Cc: stable@vger.kernel.org Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/x86/include/asm')
-rw-r--r--arch/x86/include/asm/syscalls.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/include/asm/syscalls.h b/arch/x86/include/asm/syscalls.h
index 5f87b35..2917a64 100644
--- a/arch/x86/include/asm/syscalls.h
+++ b/arch/x86/include/asm/syscalls.h
@@ -37,8 +37,8 @@ asmlinkage long sys_get_thread_area(struct user_desc __user *);
unsigned long sys_sigreturn(void);
/* kernel/vm86_32.c */
-int sys_vm86old(struct vm86_struct __user *);
-int sys_vm86(unsigned long, unsigned long);
+asmlinkage long sys_vm86old(struct vm86_struct __user *);
+asmlinkage long sys_vm86(unsigned long, unsigned long);
#else /* CONFIG_X86_32 */