]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: kprobes-test: use <asm/opcodes.h> for ARM instruction building
authorBen Dooks <ben.dooks@codethink.co.uk>
Fri, 8 Nov 2013 18:29:27 +0000 (18:29 +0000)
committerTaras Kondratiuk <taras@ti.com>
Tue, 1 Apr 2014 13:48:24 +0000 (16:48 +0300)
commitef3d06f278dad396451325e7e6c69e8dcd10bd10
tree0b3b0b65bf28afbaa1cf0e36f00fedcf069541d8
parentc4712c18421e414f36a96d6d9555a0ed179cf675
ARM: kprobes-test: use <asm/opcodes.h> for ARM instruction building

The kprobes test will build certain instructions incorrectly if building
big endian as .word output gets endian-swapped by the linker. Change to
using <asm/opcodes.h> and __inst_arm() to produce instructions.

Acked-by: Jon Medhurst <tixy@linaro.org>
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
[taras.kondratiuk@linaro.org: fixed unsupported coprocessor instructions]
Signed-off-by: Taras Kondratiuk <taras.kondratiuk@linaro.org>
arch/arm/kernel/kprobes-test-arm.c