aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kernel/apic/ipi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/apic/ipi.c b/arch/x86/kernel/apic/ipi.c
index dbf5445727a9..e6b4f517fcfe 100644
--- a/arch/x86/kernel/apic/ipi.c
+++ b/arch/x86/kernel/apic/ipi.c
@@ -150,7 +150,7 @@ int safe_smp_processor_id(void)
150{ 150{
151 int apicid, cpuid; 151 int apicid, cpuid;
152 152
153 if (!boot_cpu_has(X86_FEATURE_APIC)) 153 if (!cpu_has_apic)
154 return 0; 154 return 0;
155 155
156 apicid = hard_smp_processor_id(); 156 apicid = hard_smp_processor_id();