Răsfoiți Sursa

x86: cpuid, fix typo

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Ingo Molnar 16 ani în urmă
părinte
comite
a9853dd6d2
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      arch/x86/kernel/cpu/common.c

+ 2 - 2
arch/x86/kernel/cpu/common.c

@@ -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);