x86/microcode: Unmodularize the microcode driver
[deliverable/linux.git] / arch / x86 / kernel / cpu / microcode / intel.c
index 969dc17eb1b4b86775d5496bb6ebe9ba67110b4c..bfd6fcd242ea666fbb4a78863c4bd1f218b6745d 100644 (file)
@@ -264,7 +264,7 @@ static struct microcode_ops microcode_intel_ops = {
 
 struct microcode_ops * __init init_intel_microcode(void)
 {
-       struct cpuinfo_x86 *c = &cpu_data(0);
+       struct cpuinfo_x86 *c = &boot_cpu_data;
 
        if (c->x86_vendor != X86_VENDOR_INTEL || c->x86 < 6 ||
            cpu_has(c, X86_FEATURE_IA64)) {
This page took 0.03901 seconds and 5 git commands to generate.