x86-64: Move vread_tsc and vread_hpet into the vDSO
authorAndy Lutomirski <luto@mit.edu>
Thu, 14 Jul 2011 10:47:22 +0000 (06:47 -0400)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 15 Jul 2011 00:57:05 +0000 (17:57 -0700)
commit98d0ac38ca7b1b7a552c9a2359174ff84decb600
tree0c244e828f86c779c348a4888ed9e303c3e59811
parent433bd805e5fd2c731b3a9025b034f066272d336e
x86-64: Move vread_tsc and vread_hpet into the vDSO

The vsyscall page now consists entirely of trap instructions.

Cc: John Stultz <johnstul@us.ibm.com>
Signed-off-by: Andy Lutomirski <luto@mit.edu>
Link: http://lkml.kernel.org/r/637648f303f2ef93af93bae25186e9a1bea093f5.1310639973.git.luto@mit.edu
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
12 files changed:
arch/x86/include/asm/clocksource.h
arch/x86/include/asm/tsc.h
arch/x86/include/asm/vgtod.h
arch/x86/include/asm/vsyscall.h
arch/x86/kernel/Makefile
arch/x86/kernel/alternative.c
arch/x86/kernel/hpet.c
arch/x86/kernel/tsc.c
arch/x86/kernel/vmlinux.lds.S
arch/x86/kernel/vread_tsc_64.c [deleted file]
arch/x86/kernel/vsyscall_64.c
arch/x86/vdso/vclock_gettime.c