aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorChristian Krafft <[email protected]>2006-12-06 20:32:41 -0800
committerLinus Torvalds <[email protected]>2006-12-07 08:39:22 -0800
commit7c309a64d6afa90a0a07813c836ba480aeaeca8c (patch)
treea56b235fa35c2e528752071df2a6e21a25a4e8f6 /include/linux
parenta120586873d3d64de93bd6d593d237e131994e58 (diff)
[PATCH] enable booting a NUMA system where some nodes have no memory
When booting a NUMA system with nodes that have no memory (eg by limiting memory), bootmem_alloc_core tried to find pages in an uninitialized bootmem_map. This caused a null pointer access. This fix adds a check, so that NULL is returned. That will enable the caller (bootmem_alloc_nopanic) to alloc memory on other without a panic. Signed-off-by: Christian Krafft <[email protected]> Cc: Christoph Lameter <[email protected]> Cc: Andy Whitcroft <[email protected]> Cc: Martin Bligh <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions