uprobes/powerpc: Remove additional trap instruction check
authorAnanth N Mavinakayanahalli <ananth@in.ibm.com>
Fri, 22 Mar 2013 15:19:46 +0000 (20:49 +0530)
committerOleg Nesterov <oleg@redhat.com>
Thu, 4 Apr 2013 11:57:04 +0000 (13:57 +0200)
commit3c9eb54f71fed86b761a6da4ad3eedc9566ceb8d
tree40420dbdcecb456050560ae83367a6281909a90a
parentab07e807be533d6317ea0971900bdf547962effd
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@in.ibm.com>
Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
arch/powerpc/kernel/uprobes.c