From: Yinghai Lu Date: Mon, 21 Jul 2008 08:39:03 +0000 (-0700) Subject: x86: remove extra calling to get ext cpuid level X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=7edf8891ad7aef5f4e97991fed6fb0e605e96ea0;p=openwrt%2Fstaging%2Fblogic.git x86: remove extra calling to get ext cpuid level Signed-off-by: Yinghai Lu Signed-off-by: Ingo Molnar --- 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) 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);