[ARM] mm: move validation of membanks to one place
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Tue, 30 Sep 2008 18:29:25 +0000 (19:29 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 30 Sep 2008 20:34:15 +0000 (21:34 +0100)
commiteca73214c9c50e290b8dc823b41730b01788872d
tree22df16b626afa6fb9755ce289c6efa254f1ae3d4
parentda46c79a5418dd6ba006665c1535af0713bb77b9
[ARM] mm: move validation of membanks to one place

The newly introduced sanity_check_meminfo() function should be
used to collect all validation of the meminfo array, which we
have in bootmem_init().  Move it there.

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