diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-10-29 13:06:17 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-10-29 13:06:17 -0400 |
commit | 657e12fd388899502d47f9f6f9d276ec9ced8add (patch) | |
tree | cce20de56800ea3b63159e8db69577e761f4e094 /kernel | |
parent | c06e004c72aa0d1acbc239fb995aa3d823543a8a (diff) |
ARM: Fix sparsemem with SPARSEMEM_EXTREME enabled
When SPARSEMEM_EXTREME is enabled, memory_present() wants to use bootmem
to allocate data structures. However, we call memory_present() after
declaring memory to bootmem, but before we've reserved areas.
This leads to sparsemem data structures being overwritten later in the
kernel's initialization (when slab initializes.)
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions