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>
This commit is contained in:
Ben Dooks 2013-11-08 18:29:27 +00:00 committed by Taras Kondratiuk
parent 4712e17aa4
commit af886d2dfd

File diff suppressed because it is too large Load diff