summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2012-08-01 15:59:58 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-08-15 07:52:47 -0700
commitb004b02f82b8b8ec02d223610b9769d92fffbc64 (patch)
tree6a011897dc96ab0d44ebfe230aa2dd878e4bfd3b /arch
parent7eb54cf0b55d2160064a28a3fb929ddffed8b324 (diff)
x86-64, kcmp: The kcmp system call can be common
commit eaf4ce6c5fed6b4c55f7efcd5fc3477435cab5e9 upstream. We already use the same system call handler for i386 and x86-64, there is absolutely no reason x32 can't use the same system call, too. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> Cc: H.J. Lu <hjl.tools@gmail.com> Cc: Cyrill Gorcunov <gorcunov@openvz.org> Link: http://lkml.kernel.org/n/tip-vwzk3qbcr3yjyxjg2j38vgy9@git.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/syscalls/syscall_64.tbl2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/syscalls/syscall_64.tbl b/arch/x86/syscalls/syscall_64.tbl
index 51171aeff0dc..29aed7ac2c02 100644
--- a/arch/x86/syscalls/syscall_64.tbl
+++ b/arch/x86/syscalls/syscall_64.tbl
@@ -318,7 +318,7 @@
309 common getcpu sys_getcpu
310 64 process_vm_readv sys_process_vm_readv
311 64 process_vm_writev sys_process_vm_writev
-312 64 kcmp sys_kcmp
+312 common kcmp sys_kcmp
#
# x32-specific system call numbers start at 512 to avoid cache impact