From: Jon Medhurst Date: Thu, 9 Jun 2011 13:05:51 +0000 (+0100) Subject: ARM: kprobes: Extend arch_specific_insn to add pointer to emulated instruction X-Git-Tag: v3.1-rc1~258^2^2~2^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2960317d4581689bf80dbad4d75e7a59f11a3f7;p=pandora-kernel.git ARM: kprobes: Extend arch_specific_insn to add pointer to emulated instruction When we come to emulating Thumb instructions then, to interwork correctly, the code on in the instruction slot must be invoked with a function pointer which has the least significant bit set. Rather that set this by hand in every Thumb emulation function we will add a new field for this purpose to arch_specific_insn, called insn_fn. This also enables us to seamlessly share emulation functions between ARM and Thumb code. Signed-off-by: Jon Medhurst Acked-by: Nicolas Pitre --- Reading git-diff-tree failed