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: NJon Medhurst <tixy@linaro.org> Signed-off-by: NBen Dooks <ben.dooks@codethink.co.uk> [taras.kondratiuk@linaro.org: fix next_instruction() function] Signed-off-by: NTaras Kondratiuk <taras.kondratiuk@linaro.org>
Showing
想要评论请 注册 或 登录