[PATCH 12/23] ARM: traps: use <asm/opcodes.h> to get correct instruction order

Will Deacon will.deacon at arm.com
Wed Oct 9 07:42:31 EDT 2013


On Tue, Oct 08, 2013 at 11:34:28PM +0100, Ben Dooks wrote:
> 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 at codethink.co.uk>
> Tested-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
> ---
>  arch/arm/kernel/traps.c | 16 ++++++++++------
>  1 file changed, 10 insertions(+), 6 deletions(-)

Reviewed-by: Will Deacon <will.deacon at arm.com>

Will



More information about the linux-arm-kernel mailing list