x86: Introduce x86_cpuinit.early_percpu_clock_init hook
[deliverable/linux.git] / arch / x86 / kernel / kvmclock.c
index 44842d756b29fa9b2705fb8c57189fe5d28b5732..ca4e735adc5472f6b863d7fbd3f84b3e5b184144 100644 (file)
@@ -144,8 +144,6 @@ static void __cpuinit kvm_setup_secondary_clock(void)
         * we shouldn't fail.
         */
        WARN_ON(kvm_register_clock("secondary cpu clock"));
-       /* ok, done with our trickery, call native */
-       setup_secondary_APIC_clock();
 }
 #endif
 
@@ -194,7 +192,7 @@ void __init kvmclock_init(void)
        x86_platform.get_wallclock = kvm_get_wallclock;
        x86_platform.set_wallclock = kvm_set_wallclock;
 #ifdef CONFIG_X86_LOCAL_APIC
-       x86_cpuinit.setup_percpu_clockev =
+       x86_cpuinit.early_percpu_clock_init =
                kvm_setup_secondary_clock;
 #endif
        machine_ops.shutdown  = kvm_shutdown;
This page took 0.029696 seconds and 5 git commands to generate.