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>
#include <asm/processor-flags.h>
#include <asm/desc_defs.h>
-/* flag for disabling the tsc */
-extern int tsc_disable;
-
static inline int desc_empty(const void *ptr)
{
const u32 *desc = ptr;
#define HAVE_ARCH_PICK_MMAP_LAYOUT
-extern void disable_TSC(void);
-
/*
* Size of io_bitmap.
*/
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)
{