[ARM] 5416/1: Use unused address in v6_early_abort
authorSeth Forshee <seth.forshee@gmail.com>
Mon, 2 Mar 2009 21:39:36 +0000 (22:39 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 3 Mar 2009 12:11:25 +0000 (12:11 +0000)
commit25ef4a67e78e1322d55f0a38783537ed89addc02
tree030221d967bba0ab8d5274159063f839e6f503cc
parentc8532db7f2661b63f658b9a08cf4053a3e6abb78
[ARM] 5416/1: Use unused address in v6_early_abort

The target of the strex instruction to clear the exlusive monitor
is currently the top of the stack.  If the store succeeeds this
corrupts r0 in pt_regs.  Use the next stack location instead of
the current one to prevent any chance of corrupting an in-use
address.

Signed-off-by: Seth Forshee <seth.forshee@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/abort-ev6.S