From: H. Peter Anvin Date: Wed, 1 Aug 2012 22:59:58 +0000 (-0700) Subject: x86-64, kcmp: The kcmp system call can be common X-Git-Tag: v3.5.2~39 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b004b02f82b8b8ec02d223610b9769d92fffbc64;p=karo-tx-linux.git 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 Cc: H.J. Lu Cc: Cyrill Gorcunov Link: http://lkml.kernel.org/n/tip-vwzk3qbcr3yjyxjg2j38vgy9@git.kernel.org Signed-off-by: Greg Kroah-Hartman --- 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