]> git.proxmox.com Git - mirror_ubuntu-kernels.git/blobdiff - arch/x86/kernel/cpu/common.c
x86: replace percpu_xxx funcs with this_cpu_xxx
[mirror_ubuntu-kernels.git] / arch / x86 / kernel / cpu / common.c
index cf79302198a620bc1e1e60740487f33d5244edbe..82f29e70d05833b7b3b6e0b7789a46ef9a75c4b8 100644 (file)
@@ -1185,7 +1185,7 @@ void __cpuinit cpu_init(void)
        oist = &per_cpu(orig_ist, cpu);
 
 #ifdef CONFIG_NUMA
-       if (cpu != 0 && percpu_read(numa_node) == 0 &&
+       if (cpu != 0 && this_cpu_read(numa_node) == 0 &&
            early_cpu_to_node(cpu) != NUMA_NO_NODE)
                set_numa_node(early_cpu_to_node(cpu));
 #endif