diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2010-05-04 18:27:43 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-05-04 18:31:03 +0200 |
commit | ea056df7965fc46cfff28fd3808bf3ada23d5059 (patch) | |
tree | 4bc56774dfc4217db45ad304a0463532d6ff4808 /arch/arm/mach-pxa/raumfeld.c | |
parent | Merge branch 'for-rmk' of git://git.pengutronix.de/git/imx/linux-2.6 (diff) | |
download | linux-ea056df7965fc46cfff28fd3808bf3ada23d5059.tar.xz linux-ea056df7965fc46cfff28fd3808bf3ada23d5059.zip |
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-pxa/raumfeld.c')
0 files changed, 0 insertions, 0 deletions