x86/cpufeature: Replace cpu_has_apic with boot_cpu_has() usage
[linux-2.6-block.git] / arch / x86 / kernel / smpboot.c
index a2065d3b3b396f4503f4e4f42acc2af2bd4b307b..1fe4130b14d924fa07f6dda1640cae2e10fddefe 100644 (file)
@@ -1231,7 +1231,7 @@ static int __init smp_sanity_check(unsigned max_cpus)
         * If we couldn't find a local APIC, then get out of here now!
         */
        if (APIC_INTEGRATED(apic_version[boot_cpu_physical_apicid]) &&
-           !cpu_has_apic) {
+           !boot_cpu_has(X86_FEATURE_APIC)) {
                if (!disable_apic) {
                        pr_err("BIOS bug, local APIC #%d not detected!...\n",
                                boot_cpu_physical_apicid);