]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 7088/1: entry: fix wrong parameter name used in do_thumb_abort
authorJanusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Thu, 8 Sep 2011 17:45:40 +0000 (18:45 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 10 Sep 2011 22:39:56 +0000 (23:39 +0100)
commit0eba16fd3e5159252b2aa827ead53a82cf19815b
tree2fcfee6741c20e5faf40aeda121361785748b273
parent96cb64cd1987fde4c40555fdc8565e8053b9c501
ARM: 7088/1: entry: fix wrong parameter name used in do_thumb_abort

Commit 57d49a602690, "ARM: entry: abort-macro: specify registers to be
used for macros", while replacing register numbers with macro parameter
names, mismatched the name used for r1. For me, this resulted in user
space built for EABI with -march=armv4t -mtune=arm920t -mthumb-interwork
-mthumb broken on my OMAP1510 based Amstrad Delta (old ABI and no thumb
still worked for me though).

Fix this by using correct parameter name fsr instead of mismatched psr,
used by callers for another purpose.

Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/abort-macro.S