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>
This commit is contained in:
committed by
Ingo Molnar
parent
7bcbc78dea
commit
73018a66e7
@@ -16,6 +16,10 @@ typedef unsigned long long cycles_t;
|
||||
|
||||
extern unsigned int cpu_khz;
|
||||
extern unsigned int tsc_khz;
|
||||
/* flag for disabling the tsc */
|
||||
extern int tsc_disable;
|
||||
|
||||
extern void disable_TSC(void);
|
||||
|
||||
static inline cycles_t get_cycles(void)
|
||||
{
|
||||
|
Reference in New Issue
Block a user