aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-mv78xx0
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2010-05-04 17:27:43 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-05-04 17:31:03 +0100
commitea056df7965fc46cfff28fd3808bf3ada23d5059 (patch)
tree4bc56774dfc4217db45ad304a0463532d6ff4808 /arch/arm/mach-mv78xx0
parentab92e74f799a1cbc6b3c9bf90ed05403689ddecc (diff)
ARM: 6093/1: Fix kernel memory printing for sparsemem
The show_mem() and mem_init() function are assuming that the page map is contiguous and calculates the start and end page of a bank using (map + pfn). This fails with SPARSEMEM where pfn_to_page() must be used. Tested-by: Will Deacon <Will.Deacon@arm.com> Tested-by: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-mv78xx0')
0 files changed, 0 insertions, 0 deletions