ARM: ensure membank array is always sorted
commit7dc50ec7283391dd7a29a80e2a0fb76731a6a7c7
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 27 Oct 2010 17:14:56 +0000 (27 18:14 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 28 Oct 2010 12:54:41 +0000 (28 13:54 +0100)
treecfce6e8adf5c4a50ed04f390a7acf8f4d7d8b5df
parentc8c90860cd3592fac83a349f84a20360a6498727
ARM: ensure membank array is always sorted

This was missing from the noMMU code, so there was the possibility
of things not working as expected if out of order memory information
was passed.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/init.c
arch/arm/mm/mmu.c