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

Ensure we read instructions in the correct endian-ness by using
the <asm/opcodes.h> helper to transform them as necessary.

Acked-by: Jon Medhurst <tixy@linaro.org>
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
[taras.kondratiuk@linaro.org: fix next_instruction() function]
Signed-off-by: Taras Kondratiuk <taras.kondratiuk@linaro.org>
arch/arm/kernel/kprobes-test.c