From: Oleg Nesterov Date: Mon, 31 Mar 2014 19:01:31 +0000 (+0200) Subject: uprobes/x86: Introduce uprobe_xol_ops and arch_uprobe->ops X-Git-Tag: omap-for-v3.16/fixes-against-rc1~34^2~40^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ad8e9d3fd64f101eed6652964670672d699e563;p=pandora-kernel.git uprobes/x86: Introduce uprobe_xol_ops and arch_uprobe->ops Introduce arch_uprobe->ops pointing to the "struct uprobe_xol_ops", move the current UPROBE_FIX_{RIP*,IP,CALL} code into the default set of methods and change arch_uprobe_pre/post_xol() accordingly. This way we can add the new uprobe_xol_ops's to handle the insns which need the special processing (rip-relative jmp/call at least). Signed-off-by: Oleg Nesterov Reviewed-by: Jim Keniston Reviewed-by: Masami Hiramatsu --- Reading git-diff-tree failed