]> err.no Git - linux-2.6/blobdiff - arch/x86/kernel/tsc.c
Merge branch 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6] / arch / x86 / kernel / tsc.c
index 4a775d00195791bc455d35a0f507f0372bade084..7603c0553909efa29718b6857cda56ba2469cd4f 100644 (file)
@@ -358,6 +358,7 @@ static cycle_t read_tsc(void)
                ret : clocksource_tsc.cycle_last;
 }
 
+#ifdef CONFIG_X86_64
 static cycle_t __vsyscall_fn vread_tsc(void)
 {
        cycle_t ret = (cycle_t)vget_cycles();
@@ -365,6 +366,7 @@ static cycle_t __vsyscall_fn vread_tsc(void)
        return ret >= __vsyscall_gtod_data.clock.cycle_last ?
                ret : __vsyscall_gtod_data.clock.cycle_last;
 }
+#endif
 
 static struct clocksource clocksource_tsc = {
        .name                   = "tsc",
@@ -513,7 +515,6 @@ void __init tsc_init(void)
         */
        for_each_possible_cpu(cpu)
                set_cyc2ns_scale(cpu_khz, cpu);
-       use_tsc_delay();
 
        if (tsc_disabled > 0)
                return;