diff options
author | Andy Lutomirski <luto@mit.edu> | 2011-08-10 11:15:31 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2011-08-10 19:26:46 -0500 |
commit | fce8dc06423d6fb2709469dc5c55b04e09c1d126 (patch) | |
tree | b6a901db2c89a140adfbe09cc0547fb232f9b270 /arch/x86/include/asm/sync_bitops.h | |
parent | f3fb5b7bb70d6e679c15fef85707810a067f5fb6 (diff) | |
download | blackbird-op-linux-fce8dc06423d6fb2709469dc5c55b04e09c1d126.tar.gz blackbird-op-linux-fce8dc06423d6fb2709469dc5c55b04e09c1d126.zip |
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 <luto@mit.edu>
Link: http://lkml.kernel.org/r/6b19f55bdb06a0c32c2fa6dba9b6f222e1fde999.1312988155.git.luto@mit.edu
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/include/asm/sync_bitops.h')
0 files changed, 0 insertions, 0 deletions