ARM: 7555/1: kexec: fix segment memory addresses check
authorAaro Koskinen <aaro.koskinen@iki.fi>
Tue, 16 Oct 2012 18:35:14 +0000 (19:35 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 18 Oct 2012 10:05:19 +0000 (11:05 +0100)
commit2456f44dd7a9aaffc2cd21a13f78198b3d94da08
treebbb4f265529b0e1f27bc8fba817b6d64c4332146
parentddffeb8c4d0331609ef2581d84de4d763607bd37
ARM: 7555/1: kexec: fix segment memory addresses check

Commit c564df4db85aac8d1d65a56176a0a25f46138064 (ARM: 7540/1: kexec:
Check segment memory addresses) added a safety check with accidentally
reversed condition, and broke kexec functionality on ARM. Fix this.

Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/machine_kexec.c