]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 8086/1: Set memblock limit for nommu
authorLaura Abbott <lauraa@codeaurora.org>
Fri, 27 Jun 2014 09:17:27 +0000 (10:17 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 29 Jun 2014 09:29:34 +0000 (10:29 +0100)
commitee6c5a4d5d900f7b706e33aeb9a68b56ec220d73
treecfa27dc7403d59920f2c9492df4008cb05d721f9
parent28c011c0e4fa0bd0cdfc6af931b3e97a1e4d8b4b
ARM: 8086/1: Set memblock limit for nommu

Commit 250a595 (ARM: 8025/1: Get rid of meminfo) changed find_limits
to use memblock_get_current_limit for calculating the max_low pfn.
nommu targets never actually set a limit on memblock though which
means memblock_get_current_limit will just return the default
value. Set the memblock_limit to be the end of DDR to make sure
bounds are calculated correctly.

Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/nommu.c