ARM: traps: use <asm/opcodes.h> to get correct instruction order
authorBen Dooks <ben.dooks@codethink.co.uk>
Fri, 19 Jul 2013 16:12:05 +0000 (17:12 +0100)
committerBen Dooks <ben.dooks@codethink.co.uk>
Sat, 19 Oct 2013 19:46:34 +0000 (20:46 +0100)
commita79a0cb1d35ec422dcf493cef1bebf9fdfcfdb9a
tree4e3dfddc2f910e07c9847cf68a97eeb9fe646851
parent8592edf0dec8159fde379eb7e056eaddbbd697f2
ARM: traps: use <asm/opcodes.h> to get correct instruction order

The trap handler needs to take into account the endian configuration of
the system when loading instructions. Use <asm/opcodes.h> to provide the
necessary conversion functions.

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
arch/arm/kernel/traps.c