powerpc/kprobes: Don't save/restore DAR/DSISR to/from pt_regs for optprobes
authorNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Thu, 8 Jun 2017 19:16:55 +0000 (00:46 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 24 Aug 2017 06:19:01 +0000 (16:19 +1000)
commitec4189c4e8eea0c5e7c9b71cb1502cdcbb32aa17
tree78bddbbfa57654f5e61462f6e90f083aff282d55
parenta9dadc1c512807f955f0799e85830b420da47932
powerpc/kprobes: Don't save/restore DAR/DSISR to/from pt_regs for optprobes

We don't save/restore these across a trap, or with KPROBES_ON_FTRACE.

Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/optprobes_head.S