|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH]smpboot.c: Don't boot cpu if apicid is BAD_APICID
Various mach-specific platforms return BAD_APICID from cpu_present_to_apicid. This check is needed or do_boot_cpu will be called with an invalid APICID. Signed-off-by: Natasha Jarymowycz <natasha@xxxxxxxxxx> --- xen-unstable/xen/arch/x86/smpboot.c 2005-05-15 22:15:30.000000000 -0500+++ xen-unstable.patched/xen/arch/x86/smpboot.c 2005-05-17 12:17:32.000000000 -0500
@@ -871,7 +871,7 @@
/*
* Don't even attempt to start the boot CPU!
*/
- if (apicid == boot_cpu_apicid)
+ if ((apicid == boot_cpu_apicid) || (apicid == BAD_APICID))
continue;
/*
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |