powerpc/kprobes: Remove duplicate saving of MSR
authorNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Wed, 19 Apr 2017 12:51:06 +0000 (18:21 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 23 Apr 2017 10:32:24 +0000 (20:32 +1000)
commitd08f8a28bcc8c2004a7186839148fc9aadd5cc6f
tree1a5da27325aeb619f730f257f0c6fed892330ac9
parent9cba253df42f6138b48ea88f1fa35ae8a7fd5225
powerpc/kprobes: Remove duplicate saving of MSR

set_current_kprobe() already saves regs->msr into kprobe_saved_msr. Remove the
redundant save.

Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Reviewed-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/kprobes.c