summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/debug.h
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2018-07-05 16:25:05 +0000
committerMichael Ellerman <mpe@ellerman.id.au>2018-07-30 22:48:18 +1000
commitb5ac51d747122f8858bdcb3fc7a5c702ef06f6c5 (patch)
treec152a6155decdc6afe714059f15964600f62b807 /arch/powerpc/include/asm/debug.h
parente8cb7a55eb8dcf65838d0911dc7ba00b7d7accf5 (diff)
downloadlinux-b5ac51d747122f8858bdcb3fc7a5c702ef06f6c5.tar.bz2
powerpc: declare set_breakpoint() static
set_breakpoint() is only used in process.c so make it static Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/debug.h')
-rw-r--r--arch/powerpc/include/asm/debug.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/debug.h b/arch/powerpc/include/asm/debug.h
index ce5da214ffe5..7756026b95ca 100644
--- a/arch/powerpc/include/asm/debug.h
+++ b/arch/powerpc/include/asm/debug.h
@@ -45,7 +45,6 @@ static inline int debugger_break_match(struct pt_regs *regs) { return 0; }
static inline int debugger_fault_handler(struct pt_regs *regs) { return 0; }
#endif
-void set_breakpoint(struct arch_hw_breakpoint *brk);
void __set_breakpoint(struct arch_hw_breakpoint *brk);
bool ppc_breakpoint_available(void);
#ifdef CONFIG_PPC_ADV_DEBUG_REGS