x86_64: Consolidate tsc calibration
authorThomas Gleixner <tglx@linutronix.de>
Fri, 12 Oct 2007 21:04:06 +0000 (23:04 +0200)
committerThomas Gleixner <tglx@inhelltoy.tec.linutronix.de>
Fri, 12 Oct 2007 21:04:06 +0000 (23:04 +0200)
commitd371698efd45c3664fd1726780c360f02e1f9580
treef6c45126c49f35a62520b89d1bc74fca1a6f9ff9
parent89b2bbd69b89b4c5efdc112a88d72419bdeb8dfc
x86_64: Consolidate tsc calibration

Move the TSC calibration code to tsc.c. Reimplement it so the
pm timer can be used as a reference as well.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
arch/x86/kernel/hpet_64.c
arch/x86/kernel/time_64.c
arch/x86/kernel/tsc_64.c
include/asm-x86/tsc.h