]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit50c80c5dae23b1299d3e70450fdffdb055c7e317
treecdb19c3ac525cb025dbfb4612decab9e1b030f7b
parent8f4c3e5452d22f518faf59983369ca533d232bf2
[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