]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit632bf3dcc6143e677a62226b5e86d866ea50a314
treef845f109636c3cc7eddad455b89ffb986a1188d0
parent1861e7f9e9904a8dfc6f84788b6b9edee4d00396
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