]> err.no Git - linux-2.6/blobdiff - include/asm-x86/tsc.h
Revert "x86: fix pmd_bad and pud_bad to support huge pages"
[linux-2.6] / include / asm-x86 / tsc.h
index 071e0ce5b664dd9ae428b056860b020f1b39eb15..7d3e27f7d484d8ce848951b4f0b48a4d285242c0 100644 (file)
@@ -16,8 +16,6 @@ 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);
 
@@ -29,10 +27,8 @@ static inline cycles_t get_cycles(void)
        if (!cpu_has_tsc)
                return 0;
 #endif
-
-#if defined(CONFIG_X86_GENERIC) || defined(CONFIG_X86_TSC)
        rdtscll(ret);
-#endif
+
        return ret;
 }