]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit66f81d70310f488f33e75abec44b4ad15c1b127e
tree030221d967bba0ab8d5274159063f839e6f503cc
parent1c993754024ed0dff184737e0ed61d7c7e5383ee
[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