Commit af886d2d authored by Ben Dooks's avatar Ben Dooks Committed by Taras Kondratiuk

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: default avatarJon Medhurst <tixy@linaro.org>
Signed-off-by: default avatarBen Dooks <ben.dooks@codethink.co.uk>
[taras.kondratiuk@linaro.org: fixed unsupported coprocessor instructions]
Signed-off-by: default avatarTaras Kondratiuk <taras.kondratiuk@linaro.org>
parent 4712e17a
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment