summaryrefslogtreecommitdiffstats
path: root/kernel/irq
diff options
context:
space:
mode:
authorDave Martin <dave.martin@linaro.org>2012-09-03 13:49:22 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-09-15 21:25:53 +0100
commit57b9da32addd819b0baef5573a88fcfaf3e6699b (patch)
tree45f280d5b02a2cd52eef8322a5ee0d4177b3688b /kernel/irq
parent55d512e245bc7699a8800e23df1a24195dd08217 (diff)
downloadlinux-57b9da32addd819b0baef5573a88fcfaf3e6699b.tar.bz2
ARM: 7508/1: opcodes: Don't define the thumb32 byteswapping macros for BE32
The existing __mem_to_opcode_thumb32() is incorrect for BE32 platforms. However, these don't support Thumb-2 kernels, so this option is not so relevant for those platforms anyway. This operation is complicated by the lack of unaligned memory access support prior to ARMv6. Rather than provide a "working" macro which will probably won't get used (or worse, will get misused), this patch removes the macro for BE32 kernels. People manipulating Thumb opcodes prior to ARMv6 should almost certainly be splitting these operations into halfwords anyway, using __opcode_thumb32_{first,second,compose}() and the 16-bit opcode transformations. Signed-off-by: Dave Martin <dave.martin@linaro.org> Acked-by: Nicolas Pitre <nico@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'kernel/irq')
0 files changed, 0 insertions, 0 deletions