powerpc: Consolidate {k,u}probe definitions
authorAnanth N Mavinakayanahalli <ananth@in.ibm.com>
Thu, 23 Aug 2012 21:26:02 +0000 (21:26 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 5 Sep 2012 05:19:36 +0000 (15:19 +1000)
commit7118e7e648e0a902bf4f38c55a25fcff730f33d7
tree816cd359fe6fa055b2d6cadfd00645f927de8eac
parentd3dbeef657fdc9e870e0b01f811bbb906af052f8
powerpc: Consolidate {k,u}probe definitions

Move is_trap() and relatives to a common file to be shared between kprobes
and uprobes.

Code movement only; no change in functionality.

Suggested by Michael Ellerman.

Signed-off-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/kprobes.h
arch/powerpc/include/asm/probes.h [new file with mode: 0644]