aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-07-21 04:39:03 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-21 07:03:13 -0400
commit7edf8891ad7aef5f4e97991fed6fb0e605e96ea0 (patch)
treed03891438436dd82ce426611c3882e319f07ce6f
parent9175fc06aee79c349790672178d3fd7507d75c86 (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>
-rw-r--r--arch/x86/kernel/cpu/common_64.c1
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