diff options
author | Victor Kamensky <victor.kamensky@linaro.org> | 2013-11-21 07:17:03 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-11-30 22:21:00 +0000 |
commit | 50913336ef3c9270b5e2b44a5d81230d7db42fc5 (patch) | |
tree | bba7eea0d1980d62872d267e312f5a41fa72b973 /arch/arm/kernel/machine_kexec.c | |
parent | 67130c5464f50428aea0b4526a6729d61f9a1d53 (diff) | |
download | blackbird-op-linux-50913336ef3c9270b5e2b44a5d81230d7db42fc5.tar.gz blackbird-op-linux-50913336ef3c9270b5e2b44a5d81230d7db42fc5.zip |
ARM: 7895/1: signal: fix armv7-m build issue in sigreturn_codes.S
After "ARM: signal: sigreturn_codes should be endian neutral to
work in BE8" commit, thumb only platforms, like armv7m, fails to
compile sigreturn_codes.S. The reason is that for such arch
values '.arm' directive and arm opcodes are not allowed.
Fix conditionally enables arm opcodes only if no CONFIG_CPU_THUMBONLY
defined and it uses .org instructions to keep sigreturn_codes
layout.
Suggested-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Victor Kamensky <victor.kamensky@linaro.org>
Tested-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/machine_kexec.c')
0 files changed, 0 insertions, 0 deletions