|
@@ -996,6 +996,10 @@ static void __cpuinit early_identify_cpu(struct cpuinfo_x86 *c)
|
|
c->x86_capability[2] = cpuid_edx(0x80860001);
|
|
c->x86_capability[2] = cpuid_edx(0x80860001);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ c->extended_cpuid_level = cpuid_eax(0x80000000);
|
|
|
|
+ if (c->extended_cpuid_level >= 0x80000007)
|
|
|
|
+ c->x86_power = cpuid_edx(0x80000007);
|
|
|
|
+
|
|
switch (c->x86_vendor) {
|
|
switch (c->x86_vendor) {
|
|
case X86_VENDOR_AMD:
|
|
case X86_VENDOR_AMD:
|
|
early_init_amd(c);
|
|
early_init_amd(c);
|
|
@@ -1066,11 +1070,6 @@ void __cpuinit identify_cpu(struct cpuinfo_x86 *c)
|
|
numa_add_cpu(smp_processor_id());
|
|
numa_add_cpu(smp_processor_id());
|
|
#endif
|
|
#endif
|
|
|
|
|
|
- c->extended_cpuid_level = cpuid_eax(0x80000000);
|
|
|
|
-
|
|
|
|
- if (c->extended_cpuid_level >= 0x80000007)
|
|
|
|
- c->x86_power = cpuid_edx(0x80000007);
|
|
|
|
-
|
|
|
|
switch (c->x86_vendor) {
|
|
switch (c->x86_vendor) {
|
|
case X86_VENDOR_AMD:
|
|
case X86_VENDOR_AMD:
|
|
early_init_amd(c);
|
|
early_init_amd(c);
|