]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: kprobes-test: use <asm/opcodes.h> for Thumb instruction building
authorBen Dooks <ben.dooks@codethink.co.uk>
Fri, 8 Nov 2013 18:29:28 +0000 (18:29 +0000)
committerTaras Kondratiuk <taras@ti.com>
Tue, 1 Apr 2014 13:48:26 +0000 (16:48 +0300)
commit3b86ee7a691def5dafef46a21ef4fc581f18d74c
tree68c03b5a849e5ab761aae181494b0f4e8f1b2eb7
parentaf886d2dfdc0a7997438b39fe6b772b609d7314a
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: Jon Medhurst <tixy@linaro.org>
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Taras Kondratiuk <taras.kondratiuk@linaro.org>
arch/arm/kernel/kprobes-test-thumb.c