diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-07-21 04:39:03 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-21 07:03:13 -0400 |
commit | 7edf8891ad7aef5f4e97991fed6fb0e605e96ea0 (patch) | |
tree | d03891438436dd82ce426611c3882e319f07ce6f /arch | |
parent | 9175fc06aee79c349790672178d3fd7507d75c86 (diff) |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/cpu/common_64.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/common_64.c b/arch/x86/kernel/cpu/common_64.c index 0485cf644520..daee611f0140 100644 --- a/arch/x86/kernel/cpu/common_64.c +++ b/arch/x86/kernel/cpu/common_64.c | |||
@@ -305,7 +305,6 @@ static void __cpuinit early_identify_cpu(struct cpuinfo_x86 *c) | |||
305 | c->x86_capability[2] = cpuid_edx(0x80860001); | 305 | c->x86_capability[2] = cpuid_edx(0x80860001); |
306 | } | 306 | } |
307 | 307 | ||
308 | c->extended_cpuid_level = cpuid_eax(0x80000000); | ||
309 | if (c->extended_cpuid_level >= 0x80000007) | 308 | if (c->extended_cpuid_level >= 0x80000007) |
310 | c->x86_power = cpuid_edx(0x80000007); | 309 | c->x86_power = cpuid_edx(0x80000007); |
311 | 310 | ||