aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/ptrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kernel/ptrace.c')
-rw-r--r--arch/powerpc/kernel/ptrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/ptrace.c b/arch/powerpc/kernel/ptrace.c
index 2e3d2bf536c5..cdb404ea3468 100644
--- a/arch/powerpc/kernel/ptrace.c
+++ b/arch/powerpc/kernel/ptrace.c
@@ -932,7 +932,7 @@ void ptrace_triggered(struct perf_event *bp,
932} 932}
933#endif /* CONFIG_HAVE_HW_BREAKPOINT */ 933#endif /* CONFIG_HAVE_HW_BREAKPOINT */
934 934
935int ptrace_set_debugreg(struct task_struct *task, unsigned long addr, 935static int ptrace_set_debugreg(struct task_struct *task, unsigned long addr,
936 unsigned long data) 936 unsigned long data)
937{ 937{
938#ifdef CONFIG_HAVE_HW_BREAKPOINT 938#ifdef CONFIG_HAVE_HW_BREAKPOINT