diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2007-10-12 17:04:06 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@inhelltoy.tec.linutronix.de> | 2007-10-12 17:04:06 -0400 |
commit | d371698efd45c3664fd1726780c360f02e1f9580 (patch) | |
tree | f6c45126c49f35a62520b89d1bc74fca1a6f9ff9 /include/asm-x86/tsc.h | |
parent | 89b2bbd69b89b4c5efdc112a88d72419bdeb8dfc (diff) |
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>
Diffstat (limited to 'include/asm-x86/tsc.h')
-rw-r--r-- | include/asm-x86/tsc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-x86/tsc.h b/include/asm-x86/tsc.h index a4d806610b7f..2002f8d6d20a 100644 --- a/include/asm-x86/tsc.h +++ b/include/asm-x86/tsc.h | |||
@@ -72,4 +72,8 @@ int check_tsc_unstable(void); | |||
72 | extern void check_tsc_sync_source(int cpu); | 72 | extern void check_tsc_sync_source(int cpu); |
73 | extern void check_tsc_sync_target(void); | 73 | extern void check_tsc_sync_target(void); |
74 | 74 | ||
75 | #ifdef CONFIG_X86_64 | ||
76 | extern void tsc_calibrate(void); | ||
77 | #endif | ||
78 | |||
75 | #endif | 79 | #endif |