Skip to content
Commit 4712e17a authored by Ben Dooks's avatar Ben Dooks Committed by Taras Kondratiuk
Browse files

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: default avatarJon Medhurst <tixy@linaro.org>
Signed-off-by: default avatarBen Dooks <ben.dooks@codethink.co.uk>
[taras.kondratiuk@linaro.org: fix next_instruction() function]
Signed-off-by: default avatarTaras Kondratiuk <taras.kondratiuk@linaro.org>
parent 888be254
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