Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eaf4ce6c authored by H. Peter Anvin's avatar H. Peter Anvin
Browse files

x86-64, kcmp: The kcmp system call can be common



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: default avatarH. Peter Anvin <hpa@linux.intel.com>
Cc: H.J. Lu <hjl.tools@gmail.com>
Cc: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: <stable@vger.kernel.org> v3.5
Link: http://lkml.kernel.org/n/tip-vwzk3qbcr3yjyxjg2j38vgy9@git.kernel.org
parent 41fb433b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -318,7 +318,7 @@
309	common	getcpu			sys_getcpu
309	common	getcpu			sys_getcpu
310	64	process_vm_readv	sys_process_vm_readv
310	64	process_vm_readv	sys_process_vm_readv
311	64	process_vm_writev	sys_process_vm_writev
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
# x32-specific system call numbers start at 512 to avoid cache impact