[ARM] initrd: claim initrd memory exclusively
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Wed, 30 Jul 2008 20:24:56 +0000 (21:24 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 30 Jul 2008 20:24:56 +0000 (21:24 +0100)
commitb962a286e500c6259af8ba133361f8528eed9172
treecdb19c3ac525cb025dbfb4612decab9e1b030f7b
parent905a09d57afcc49511de18a95605c11ad9c88649
[ARM] initrd: claim initrd memory exclusively

Claim the initrd memory exclusively, and order other memory
reservations beforehand.  This allows us to determine whether
the initrd memory was overwritten, and disable the initrd in
that case.

This avoids a 'bad page state' bug.

Tested-by: Ralph Siemsen <ralphs@netwinder.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/init.c