Commit-ID: 3c9eb54f71fed86b761a6da4ad3eedc9566ceb8d Gitweb: http://git.kernel.org/tip/3c9eb54f71fed86b761a6da4ad3eedc9566ceb8d Author: Ananth N Mavinakayanahalli <ananth@xxxxxxxxxx> AuthorDate: Fri, 22 Mar 2013 20:49:46 +0530 Committer: Oleg Nesterov <oleg@xxxxxxxxxx> CommitDate: Thu, 4 Apr 2013 13:57:04 +0200 uprobes/powerpc: Remove additional trap instruction check prepare_uprobe() already checks if the underlying unstruction (on file) is a trap variant. We don't need to check this again. Signed-off-by: Ananth N Mavinakayanahalli <ananth@xxxxxxxxxx> Acked-by: Srikar Dronamraju <srikar@xxxxxxxxxxxxxxxxxx> Signed-off-by: Oleg Nesterov <oleg@xxxxxxxxxx> --- arch/powerpc/kernel/uprobes.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/powerpc/kernel/uprobes.c b/arch/powerpc/kernel/uprobes.c index cb7f63d..2ecdbe3 100644 --- a/arch/powerpc/kernel/uprobes.c +++ b/arch/powerpc/kernel/uprobes.c @@ -53,12 +53,6 @@ int arch_uprobe_analyze_insn(struct arch_uprobe *auprobe, if (addr & 0x03) return -EINVAL; - /* - * We currently don't support a uprobe on an already - * existing breakpoint instruction underneath - */ - if (is_trap(auprobe->ainsn)) - return -ENOTSUPP; return 0; } -- To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html