]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86/kernel/cpu/common.c
x86: delay early cpu initialization until cpuid is done
[linux-2.6-omap-h63xx.git] / arch / x86 / kernel / cpu / common.c
index 0785b3c8d043434109861d8326374be04fa7e8e1..8aab8517642e7ba34c3c91da7403c4892b01b53d 100644 (file)
@@ -335,11 +335,11 @@ static void __init early_cpu_detect(void)
 
        get_cpu_vendor(c, 1);
 
+       early_get_cap(c);
+
        if (c->x86_vendor != X86_VENDOR_UNKNOWN &&
            cpu_devs[c->x86_vendor]->c_early_init)
                cpu_devs[c->x86_vendor]->c_early_init(c);
-
-       early_get_cap(c);
 }
 
 /*