Merge tag 'stable/for-linus-3.4-tag' of git://git.kernel.org/pub/scm/linux/kernel...
[~shefty/rdma-dev.git] / arch / x86 / xen / smp.c
index 501d4e0244ba229d90eabbe768ae1d25e057574f..315d8fa0c8fb8070b95422ef03b96a8f27c49d1f 100644 (file)
@@ -76,7 +76,7 @@ static void __cpuinit cpu_bringup(void)
        xen_setup_cpu_clockevents();
 
        set_cpu_online(cpu, true);
-       percpu_write(cpu_state, CPU_ONLINE);
+       this_cpu_write(cpu_state, CPU_ONLINE);
        wmb();
 
        /* We can take interrupts now: we're officially "up". */