powerpc: Move the single step enable code to a generic path
authorSuzuki K. Poulose <[email protected]>
Mon, 3 Dec 2012 15:08:37 +0000 (20:38 +0530)
committerBenjamin Herrenschmidt <[email protected]>
Thu, 20 Jun 2013 06:55:09 +0000 (16:55 +1000)
commit35fd219a268cc82cef842518cd64ea6949629ba2
tree2226a6d0fe4a0d36d679905c5680f5ca27db0bab
parent85f395c5b0a26b3a80f9e2d35333981a2a75c0ae
powerpc: Move the single step enable code to a generic path

This patch moves the single step enable code used by kprobe to a generic
routine header so that, it can be re-used by other code, in this case,
uprobes. No functional changes.

Signed-off-by: Suzuki K. Poulose <[email protected]>
Cc: Ananth N Mavinakaynahalli <[email protected]>
Cc: Kumar Gala <[email protected]>
Cc: [email protected]
Acked-by: Ananth N Mavinakayanahalli <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
arch/powerpc/include/asm/probes.h
arch/powerpc/kernel/kprobes.c