uprobes/x86: Shift "insn_complete" from branch_setup_xol_ops() to uprobe_init_insn()
commitff261964cfcfe49d73690ca29b0ba2853d9497e3
authorOleg Nesterov <oleg@redhat.com>
Sat, 19 Apr 2014 12:15:27 +0000 (19 14:15 +0200)
committerOleg Nesterov <oleg@redhat.com>
Wed, 30 Apr 2014 17:10:34 +0000 (30 19:10 +0200)
tree72af80a1fb4083f362796411858800fe44152c6f
parent2ae1f49ae1978fedb6ad607e1f8b084aa9752f95
uprobes/x86: Shift "insn_complete" from branch_setup_xol_ops() to uprobe_init_insn()

Change uprobe_init_insn() to make insn_complete() == T, this makes
other insn_get_*() calls unnecessary.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Reviewed-by: Jim Keniston <jkenisto@us.ibm.com>
Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
arch/x86/kernel/uprobes.c