diff options
author | Doug Chapman <doug.chapman@hp.com> | 2008-11-05 17:57:52 -0500 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2008-11-06 09:28:27 -0800 |
commit | 62ee0540f5e5a804b79cae8b3c0185a85f02436b (patch) | |
tree | 371f35ceddba751ad1f09a78f10559c56c64581e /block/blk-ioc.c | |
parent | 1547a01226bcc3fd575fd5383b8b55476a02b518 (diff) |
[IA64] fix boot panic caused by offline CPUs
This fixes a regression introduced by 2c6e6db41f01b6b4eb98809350827c9678996698
"Minimize per_cpu reservations." That patch incorrectly used information about
what CPUs are possible that was not yet initialized by ACPI. The end result
was that per_cpu structures for offline CPUs were not initialized causing a
NULL pointer reference.
Since we cannot do the full acpi_boot_init() call any earlier, the simplest
fix is to just parse the MADT for SAPIC entries early to find the CPU
info. This should also allow for some cleanup of the code added by the
"Minimize per_cpu reservations". This patch just fixes the regressions, the
cleanup will come in a later patch.
Signed-off-by: Doug Chapman <doug.chapman@hp.com>
Signed-off-by: Alex Chiang <achiang@hp.com>
CC: Robin Holt <holt@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'block/blk-ioc.c')
0 files changed, 0 insertions, 0 deletions