mirror of https://gitee.com/openkylin/linux.git
x86: cpuid, fix typo
Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
afae865613
commit
a9853dd6d2
|
@ -529,7 +529,7 @@ static void __init early_identify_cpu(struct cpuinfo_x86 *c)
|
|||
identify_cpu_without_cpuid(c);
|
||||
|
||||
/* cyrix could have cpuid enabled via c_identify()*/
|
||||
if (!have_cpuid())
|
||||
if (!have_cpuid_p())
|
||||
return;
|
||||
|
||||
cpu_detect(c);
|
||||
|
@ -611,7 +611,7 @@ static void __cpuinit generic_identify(struct cpuinfo_x86 *c)
|
|||
identify_cpu_without_cpuid(c);
|
||||
|
||||
/* cyrix could have cpuid enabled via c_identify()*/
|
||||
if (!have_cpuid())
|
||||
if (!have_cpuid_p())
|
||||
return;
|
||||
|
||||
cpu_detect(c);
|
||||
|
|
Loading…
Reference in New Issue