ARM: initrd: disable initrds outside of memory
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 10 Jun 2011 23:43:21 +0000 (00:43 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 10 Jun 2011 23:43:21 +0000 (00:43 +0100)
commit8f4b8c7613928d5c6da43715fedc00a7b1ee53be
tree10ea6f43945712e725268f2b025d56e6005b4808
parent099b4d3b473db012a55ce6bec9ef594d0508e782
ARM: initrd: disable initrds outside of memory

We can't cope with initrds outside of memory, so check that the
initrd is within some declared memory to the kernel before using
it.  Otherwise we're likely to OOPS during boot.

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