diff options
author | Victor Kamensky <victor.kamensky@linaro.org> | 2013-08-27 22:41:57 -0700 |
---|---|---|
committer | Ben Dooks <ben.dooks@codethink.co.uk> | 2013-10-19 20:46:36 +0100 |
commit | 574e2b5111e13827da501771b27d92e6e3f2e3d7 (patch) | |
tree | 3c258d0c771bf4e1cbb51756dc81aede2922dadd /mm/percpu.c | |
parent | 2245f92498b216b50e744423bde17626287409d8 (diff) | |
download | op-kernel-dev-574e2b5111e13827da501771b27d92e6e3f2e3d7.zip op-kernel-dev-574e2b5111e13827da501771b27d92e6e3f2e3d7.tar.gz |
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 'mm/percpu.c')
0 files changed, 0 insertions, 0 deletions