]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
x86: get_cycles() fix
authorIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:33:24 +0000 (13:33 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:33:24 +0000 (13:33 +0100)
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/asm-x86/tsc.h

index a6e8d35c3f86775e0c8ef24acd781e795234cf9c..7d3e27f7d484d8ce848951b4f0b48a4d285242c0 100644 (file)
@@ -27,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;
 }