diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-10-29 18:06:17 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-10-29 18:06:17 +0100 |
commit | 657e12fd388899502d47f9f6f9d276ec9ced8add (patch) | |
tree | cce20de56800ea3b63159e8db69577e761f4e094 /arch/arm/include/asm | |
parent | ARM: Use GFP_DMA only for masks _less_ than 32-bit (diff) | |
download | linux-657e12fd388899502d47f9f6f9d276ec9ced8add.tar.xz linux-657e12fd388899502d47f9f6f9d276ec9ced8add.zip |
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 'arch/arm/include/asm')
0 files changed, 0 insertions, 0 deletions