ARM: initrd: disable initrd if passed address overlaps reserved region
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 30 Jan 2011 11:21:05 +0000 (11:21 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 31 Jan 2011 10:53:41 +0000 (10:53 +0000)
Disable the initrd if the passed address already overlaps the reserved
region.  This avoids oopses on Netwinders when NeTTrom tells the kernel
that an initrd is located at mem+4MB, but this overlaps the BSS,
resulting in the kernels in-use BSS being freed.

This should be applied to v2.6.37-stable.

Cc: <stable@kernel.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

No differences found