Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 80163
b: refs/heads/master
c: 9566e91
h: refs/heads/master
i:
  80161: f176e01
  80159: e3355ff
v: v3
  • Loading branch information
Andreas Herrmann authored and Ingo Molnar committed Jan 30, 2008
1 parent b499f42 commit 3493250
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ddb25f9ac1c4b4f9ba0bdacd7850a921a0c6886c
refs/heads/master: 9566e91d494ed0668edf88f852de7f251fe8fe9a
9 changes: 4 additions & 5 deletions trunk/arch/x86/kernel/setup_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -996,6 +996,10 @@ static void __cpuinit early_identify_cpu(struct cpuinfo_x86 *c)
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) {
case X86_VENDOR_AMD:
early_init_amd(c);
Expand Down Expand Up @@ -1066,11 +1070,6 @@ void __cpuinit identify_cpu(struct cpuinfo_x86 *c)
numa_add_cpu(smp_processor_id());
#endif

c->extended_cpuid_level = cpuid_eax(0x80000000);

if (c->extended_cpuid_level >= 0x80000007)
c->x86_power = cpuid_edx(0x80000007);

switch (c->x86_vendor) {
case X86_VENDOR_AMD:
early_init_amd(c);
Expand Down

0 comments on commit 3493250

Please sign in to comment.