powerpc: Add ppc_breakpoint_available()
authorMichael Neuling <mikey@neuling.org>
Tue, 27 Mar 2018 04:37:17 +0000 (15:37 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 27 Mar 2018 12:52:43 +0000 (23:52 +1100)
commit404b27d66ed657ebccb08a9c8f8f65523e9b666b
tree8ec4a5895cc333f47bb7ff4c4ab2c9acedca17f6
parent681c617b7c42fce0798c2b0b472f270f28c82d56
powerpc: Add ppc_breakpoint_available()

Add ppc_breakpoint_available() to determine if a breakpoint is
available currently via the DAWR or DABR.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/debug.h
arch/powerpc/kernel/process.c