diff --git a/include/asm-x86/processor_32.h b/include/asm-x86/processor_32.h index a5560a3b57ef03548bba2c50089e7aa46ebb1232..76cada930d226f78ed53ae01534a018478f13f4b 100644 --- a/include/asm-x86/processor_32.h +++ b/include/asm-x86/processor_32.h @@ -22,9 +22,6 @@ #include #include -/* flag for disabling the tsc */ -extern int tsc_disable; - static inline int desc_empty(const void *ptr) { const u32 *desc = ptr; @@ -206,8 +203,6 @@ extern int bootloader_type; #define HAVE_ARCH_PICK_MMAP_LAYOUT -extern void disable_TSC(void); - /* * Size of io_bitmap. */ diff --git a/include/asm-x86/tsc.h b/include/asm-x86/tsc.h index 9b7d264897fa4f3a74f46d5710817490713563e4..401303724130b047b861ae2b7f3b1eff3e17108b 100644 --- a/include/asm-x86/tsc.h +++ b/include/asm-x86/tsc.h @@ -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) {