Skip to content

Commit 7edf889

Browse files
yhluIngo Molnar
authored andcommitted
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>
1 parent 9175fc0 commit 7edf889

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/x86/kernel/cpu/common_64.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,6 @@ static void __cpuinit early_identify_cpu(struct cpuinfo_x86 *c)
305305
c->x86_capability[2] = cpuid_edx(0x80860001);
306306
}
307307

308-
c->extended_cpuid_level = cpuid_eax(0x80000000);
309308
if (c->extended_cpuid_level >= 0x80000007)
310309
c->x86_power = cpuid_edx(0x80000007);
311310

0 commit comments

Comments
 (0)