summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/ptrace.c
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2014-08-20 00:55:18 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2014-09-25 15:14:41 +0200
commite51df2c170efaeadce4d416e1825b0830de0a795 (patch)
treee3fa881027448042f5a2915e7f1c58ddecd6c82f /arch/powerpc/kernel/ptrace.c
parentpowerpc: Separate ppc32 symbol exports into ppc_ksyms_32.c (diff)
downloadlinux-e51df2c170efaeadce4d416e1825b0830de0a795.tar.xz
linux-e51df2c170efaeadce4d416e1825b0830de0a795.zip
powerpc: Make a bunch of things static
Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
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,
}
#endif /* CONFIG_HAVE_HW_BREAKPOINT */
-int ptrace_set_debugreg(struct task_struct *task, unsigned long addr,
+static int ptrace_set_debugreg(struct task_struct *task, unsigned long addr,
unsigned long data)
{
#ifdef CONFIG_HAVE_HW_BREAKPOINT