x86: remove extra calling to get ext cpuid level
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
9175fc06ae
commit
7edf8891ad
1 changed files with 0 additions and 1 deletions
|
@ -305,7 +305,6 @@ 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)
|
if (c->extended_cpuid_level >= 0x80000007)
|
||||||
c->x86_power = cpuid_edx(0x80000007);
|
c->x86_power = cpuid_edx(0x80000007);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue