diff options
Diffstat (limited to 'arch/x86/kernel/smpboot.c')
-rw-r--r-- | arch/x86/kernel/smpboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index 66d250c00d11..d279e6e1d1b7 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c | |||
@@ -847,7 +847,7 @@ int __cpuinit native_cpu_up(unsigned int cpu) | |||
847 | 847 | ||
848 | if (apicid == BAD_APICID || apicid == boot_cpu_physical_apicid || | 848 | if (apicid == BAD_APICID || apicid == boot_cpu_physical_apicid || |
849 | !physid_isset(apicid, phys_cpu_present_map) || | 849 | !physid_isset(apicid, phys_cpu_present_map) || |
850 | (!x2apic_mode && apicid >= 255)) { | 850 | !apic->apic_id_valid(apicid)) { |
851 | printk(KERN_ERR "%s: bad cpu %d\n", __func__, cpu); | 851 | printk(KERN_ERR "%s: bad cpu %d\n", __func__, cpu); |
852 | return -EINVAL; | 852 | return -EINVAL; |
853 | } | 853 | } |