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)
commitb0a2679d27408d97ce31e5f800b44227d3388b84
tree5e1e6748d2208904a7223fff37e18eb956c4fa5f
parent5f2c1b30c7f60670c8b9d1cb1ea7c818b9c743a6
ARM: initrd: disable initrd if passed address overlaps reserved region

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>
arch/arm/mm/init.c
This page took 0.02422 seconds and 5 git commands to generate.