x86: remove get_cycles_sync
authorAndi Kleen <ak@suse.de>
Wed, 30 Jan 2008 12:32:39 +0000 (13:32 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:32:39 +0000 (13:32 +0100)
commit6d63de8dbcda98511206897562ecfcdacf18f523
treef845f109636c3cc7eddad455b89ffb986a1188d0
parentf06e4ec1c15691b0cfd2397ae32214fa36c90d71
x86: remove get_cycles_sync

rdtsc is now speculation-safe, so no need for the sync variants of
the APIs.

[ mingo@elte.hu: removed the nsec_barrier() complication. ]

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/time_64.c
arch/x86/kernel/tsc_64.c
arch/x86/kernel/tsc_sync.c
include/asm-x86/tsc.h