diff options
author | Victor Kamensky <victor.kamensky@linaro.org> | 2013-08-28 07:41:57 +0200 |
---|---|---|
committer | Ben Dooks <ben.dooks@codethink.co.uk> | 2013-10-19 21:46:36 +0200 |
commit | 574e2b5111e13827da501771b27d92e6e3f2e3d7 (patch) | |
tree | 3c258d0c771bf4e1cbb51756dc81aede2922dadd /arch/arm/common/mcpm_head.S | |
parent | ARM: atomic64: fix endian-ness in atomic.h (diff) | |
download | linux-574e2b5111e13827da501771b27d92e6e3f2e3d7.tar.xz linux-574e2b5111e13827da501771b27d92e6e3f2e3d7.zip |
ARM: signal: sigreturn_codes should be endian neutral to work in BE8
In case of BE8 kernel data is in BE order whereas code stays in LE
order. Move sigreturn_codes to separate .S file and use proper
assembler mnemonics for these code snippets. In this case compiler
will take care of proper instructions byteswaps for BE8 case.
Change assumes that sufficiently Thumb-capable tools are used to
build kernel.
Problem was discovered during ltp testing of BE system: all rt_sig*
tests failed. Tested against the same tests in both BE and LE modes.
Signed-off-by: Victor Kamensky <victor.kamensky@linaro.org>
Reviewed-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Diffstat (limited to 'arch/arm/common/mcpm_head.S')
0 files changed, 0 insertions, 0 deletions