x86: convert cpuinfo_x86 array to a per_cpu array
[deliverable/linux.git] / arch / x86 / kernel / vsyscall_64.c
index 4a2c340ab0f3066429d938efeeed564694deae55..78f2250963ae9b949074b376c74eea58b3e178da 100644 (file)
@@ -291,7 +291,7 @@ static void __cpuinit vsyscall_set_cpu(int cpu)
 #ifdef CONFIG_NUMA
        node = cpu_to_node(cpu);
 #endif
-       if (cpu_has(&cpu_data[cpu], X86_FEATURE_RDTSCP))
+       if (cpu_has(&cpu_data(cpu), X86_FEATURE_RDTSCP))
                write_rdtscp_aux((node << 12) | cpu);
 
        /* Store cpu number in limit so that it can be loaded quickly
This page took 0.024621 seconds and 5 git commands to generate.