Natasha Jarymowycz
2005-May-16 19:45 UTC
[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@us.ibm.com> --- 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@lists.xensource.com http://lists.xensource.com/xen-devel