From: Wang Nan Date: Mon, 5 Jan 2015 11:34:47 +0000 (+0800) Subject: ARM: optprobes: execute instruction during restoring if possible. X-Git-Tag: fixes-v4.0-rc1~125^2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bfc9657d752c47d59dc0bab85ebdc19cf60100dd;p=pandora-kernel.git ARM: optprobes: execute instruction during restoring if possible. This patch removes software emulation or simulation for most of probed instructions. If the instruction doesn't use PC relative addressing, it will be translated into following instructions in the restore code in code template: ldmia {r0 - r14} // restore all instruction except PC // direct execute the probed instruction b next_insn // branch to next instruction. Signed-off-by: Wang Nan Reviewed-by: Masami Hiramatsu Signed-off-by: Jon Medhurst --- Reading git-diff-tree failed