x86, vm86: fix VM86 syscalls: use SYSCALL_DEFINEx(...)
authorAlexander van Heukelum <heukelum@fastmail.fm>
Wed, 27 Mar 2013 21:18:05 +0000 (22:18 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 May 2013 18:36:06 +0000 (11:36 -0700)
commit7c3f227d5f62d607b4b09d6267a1943e9947dbeb
tree3d10a5c4be1fc2260d47e5148be650d5a34b8b64
parenteb1b60a0fbe29e66106b6cb65d17b9dfdb2d335d
x86, vm86: fix VM86 syscalls: use SYSCALL_DEFINEx(...)

commit 5522ddb3fc0dfd4a503c8278eafd88c9f2d3fada upstream.

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]

Backported-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
Reported-and-tested-by: Hans de Bruin <jmdebruin@xmsnet.nl>
Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/include/asm/syscalls.h
arch/x86/kernel/vm86_32.c