]> err.no Git - linux-2.6/blobdiff - include/asm-x86/tsc.h
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/shaggy...
[linux-2.6] / include / asm-x86 / tsc.h
index a6e8d35c3f86775e0c8ef24acd781e795234cf9c..d2d8eb5b55f532365f9277b5f776109626f7ed4b 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;
 }
 
@@ -44,7 +42,7 @@ static inline cycles_t vget_cycles(void)
        if (!cpu_has_tsc)
                return 0;
 #endif
-       return (cycles_t) __native_read_tsc();
+       return (cycles_t)__native_read_tsc();
 }
 
 extern void tsc_init(void);