瀏覽代碼

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>
Yinghai Lu 17 年之前
父節點
當前提交
7edf8891ad
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      arch/x86/kernel/cpu/common_64.c

+ 0 - 1
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->x86_capability[2] = cpuid_edx(0x80860001);
 	}
 	}
 
 
-	c->extended_cpuid_level = cpuid_eax(0x80000000);
 	if (c->extended_cpuid_level >= 0x80000007)
 	if (c->extended_cpuid_level >= 0x80000007)
 		c->x86_power = cpuid_edx(0x80000007);
 		c->x86_power = cpuid_edx(0x80000007);