x86: remove extra calling to get ext cpuid level
authorYinghai Lu <yhlu.kernel@gmail.com>
Mon, 21 Jul 2008 08:39:03 +0000 (01:39 -0700)
committerIngo Molnar <mingo@elte.hu>
Mon, 21 Jul 2008 11:03:13 +0000 (13:03 +0200)
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/common_64.c

index 0485cf6..daee611 100644 (file)
@@ -305,7 +305,6 @@ 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);