[ARM] 4838/1: Fix kexec for SA1100 machines
authorThomas Kunze <thommycheck@gmx.de>
Sun, 24 Feb 2008 16:59:34 +0000 (17:59 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 29 Feb 2008 22:47:09 +0000 (22:47 +0000)
commit5ce94e9e8b469a17fbd3efa1b940c19b5e43449a
tree2dc2e4f0e39449df6d1ee33a8b54642ec5eaca32
parent94a3f78566ef98a48814d82892f28bb741624cb8
[ARM] 4838/1: Fix kexec for SA1100 machines

This patch sets KEXEC_CONTROL_MEMORY_LIMIT to (-1)UL. As the value is
compared with physical addresses TASK_SIZE makes no sense. Machines
where the RAM addresses start above TASK_SIZE kexecs eats all memory
and crashes the kernel without this patch.

Signed-off-by: Thomas Kunze <thommycheck@gmx.de>
Acked-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/kexec.h