aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/tsc.h
diff options
context:
space:
mode:
authorGlauber de Oliveira Costa <gcosta@redhat.com>2008-01-30 07:31:26 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:31:26 -0500
commit73018a66e70fa631935192e5ed6ef8fa2d20b22d (patch)
tree30282f41876ad55cc1e92f4def1afe7e09f1cc76 /include/asm-x86/tsc.h
parent7bcbc78dea92fdf0947fa48e248da3c993a5690f (diff)
x86: move tsc definitions to were they belong
This patch wipes out the definitions of tsc_disable from processor_32.h and move it to tsc.h, were it belongs Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/tsc.h')
-rw-r--r--include/asm-x86/tsc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-x86/tsc.h b/include/asm-x86/tsc.h
index 9b7d264897fa..401303724130 100644
--- a/include/asm-x86/tsc.h
+++ b/include/asm-x86/tsc.h
@@ -16,6 +16,10 @@ typedef unsigned long long cycles_t;
16 16
17extern unsigned int cpu_khz; 17extern unsigned int cpu_khz;
18extern unsigned int tsc_khz; 18extern unsigned int tsc_khz;
19/* flag for disabling the tsc */
20extern int tsc_disable;
21
22extern void disable_TSC(void);
19 23
20static inline cycles_t get_cycles(void) 24static inline cycles_t get_cycles(void)
21{ 25{