]> err.no Git - linux-2.6/commitdiff
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 0485cf6445203d205ffc11525b330cd3ae5ddaf6..daee611f0140c211d26736991391f8d5f206f1e7 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);