From: Oleg Nesterov Date: Mon, 21 Apr 2014 14:58:17 +0000 (+0200) Subject: uprobes/x86: Introduce uprobe_xol_ops->abort() and default_abort_op() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~34^2~14^2~1^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=588fbd613c3d8fa73e96720761d49f1d40d34d4c;p=pandora-kernel.git uprobes/x86: Introduce uprobe_xol_ops->abort() and default_abort_op() arch_uprobe_abort_xol() calls handle_riprel_post_xol() even if auprobe->ops != default_xol_ops. This is fine correctness wise, only default_pre_xol_op() can set UPROBE_FIX_RIP_AX|UPROBE_FIX_RIP_CX and otherwise handle_riprel_post_xol() is nop. But this doesn't look clean and this doesn't allow us to move ->fixups into the union in arch_uprobe. Move this handle_riprel_post_xol() call into the new default_abort_op() hook and change arch_uprobe_abort_xol() accordingly. Signed-off-by: Oleg Nesterov Reviewed-by: Jim Keniston --- Reading git-diff-tree failed