summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/kprobes-common.c
diff options
context:
space:
mode:
authorJon Medhurst <tixy@yxit.co.uk>2011-07-03 13:55:47 +0100
committerTixy <tixy@medhuaa1.miniserver.com>2011-07-13 17:32:45 +0000
commitf39ca8b488a6c1e8db47746e1cdb841a6999edd7 (patch)
treeb04e1f1010e46a15d03e3ac93c685566c5eccbc1 /arch/arm/kernel/kprobes-common.c
parent0a188ccb5eceb58101fcc11b3ec2d860ccbf92a3 (diff)
downloadop-kernel-dev-f39ca8b488a6c1e8db47746e1cdb841a6999edd7.zip
op-kernel-dev-f39ca8b488a6c1e8db47746e1cdb841a6999edd7.tar.gz
ARM: kprobes: Decode 32-bit Thumb hint instructions
For hints which may have observable effects, like SEV (send event), we use kprobe_emulate_none which emulates the hint by executing the original instruction. For NOP we simulate the instruction using kprobe_simulate_nop, which does nothing. As probes execute with interrupts disabled this is also used for hints which may block for an indefinite time, like WFE (wait for event). Signed-off-by: Jon Medhurst <tixy@yxit.co.uk> Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Diffstat (limited to 'arch/arm/kernel/kprobes-common.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud