From: Andy Lutomirski Date: Wed, 10 Aug 2011 15:15:31 +0000 (-0400) Subject: x86-64: Wire up getcpu syscall X-Git-Tag: v3.1-rc2~16^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fce8dc06423d6fb2709469dc5c55b04e09c1d126;p=pandora-kernel.git x86-64: Wire up getcpu syscall getcpu is available as a vdso entry and an emulated vsyscall. Programs that for some reason don't want to use the vdso should still be able to call getcpu without relying on the slow emulated vsyscall. It costs almost nothing to expose it as a real syscall. We also need this for the following patch in vsyscall=native mode. Signed-off-by: Andy Lutomirski Link: http://lkml.kernel.org/r/6b19f55bdb06a0c32c2fa6dba9b6f222e1fde999.1312988155.git.luto@mit.edu Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed