From: Jon Medhurst Date: Sat, 2 Jul 2011 15:30:43 +0000 (+0100) Subject: ARM: kprobes: Decode 16-bit Thumb branch instructions X-Git-Tag: v3.1-rc1~258^2^2~2^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=396b41f68d937a0c48ba624186ed06288b35bb4e;p=pandora-kernel.git ARM: kprobes: Decode 16-bit Thumb branch instructions We previously changed the behaviour of probes so that conditional instructions don't fire when the condition isn't met. For ARM branches, and Thumb branches in IT blocks, this means they don't fire if the branch isn't taken. For consistency, we implement the same for Thumb conditional branch instructions. This involves setting up insn_check_cc to point to the relevant condition checking function. As the emulation routine is only called when this condition passes, it doesn't need to check again and can unconditionally update PC. Signed-off-by: Jon Medhurst Acked-by: Nicolas Pitre --- Reading git-diff-tree failed