diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2010-05-04 17:27:43 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-05-04 17:31:03 +0100 |
commit | ea056df7965fc46cfff28fd3808bf3ada23d5059 (patch) | |
tree | 4bc56774dfc4217db45ad304a0463532d6ff4808 /arch/mn10300/include/asm/spinlock.h | |
parent | ab92e74f799a1cbc6b3c9bf90ed05403689ddecc (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/mn10300/include/asm/spinlock.h')
0 files changed, 0 insertions, 0 deletions