aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/capability.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2009-10-29 13:06:17 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-10-29 13:06:17 -0400
commit657e12fd388899502d47f9f6f9d276ec9ced8add (patch)
treecce20de56800ea3b63159e8db69577e761f4e094 /kernel/capability.c
parentc06e004c72aa0d1acbc239fb995aa3d823543a8a (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/capability.c')
0 files changed, 0 insertions, 0 deletions