]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ARM: 7113/1: mm: Align bank start to MAX_ORDER_NR_PAGES
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 29 Sep 2011 08:37:23 +0000 (09:37 +0100)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Thu, 8 Dec 2011 19:17:03 +0000 (11:17 -0800)
commitcc985aeea742d16f887d5e3417b26d3b33d46604
tree47de04998d24aa2f42645a816624a1dd163f13c5
parent850f300a4856f71831e43022fe50e69bd2b34b13
ARM: 7113/1: mm: Align bank start to MAX_ORDER_NR_PAGES

commit 002ea9eefec98dada56fd5f8e432a4e8570c2a26 upstream.

The VM subsystem assumes that there are valid memmap entries from
the bank start aligned to MAX_ORDER_NR_PAGES.

On the Ux500 we have a lot of mem=N arguments on the commandline
triggering this bug several times over and causing kernel
oops messages.

Cc: Michael Bohan <mbohan@codeaurora.org>
Cc: Nicolas Pitre <nico@fluxnic.net>
Signed-off-by: Johan Palsson <johan.palsson@stericsson.com>
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/arm/mm/init.c