Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3b86ee7a authored by Ben Dooks's avatar Ben Dooks Committed by Taras Kondratiuk
Browse files

ARM: kprobes-test: use <asm/opcodes.h> for Thumb instruction building



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

Acked-by: default avatarJon Medhurst <tixy@linaro.org>
Signed-off-by: default avatarBen Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: default avatarTaras Kondratiuk <taras.kondratiuk@linaro.org>
parent af886d2d
Loading
Loading
Loading
Loading
+224 −223

File changed.

Preview size limit exceeded, changes collapsed.