aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/ptrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/ptrace.c b/arch/x86/kernel/ptrace.c
index b457f78b7dbf..cabdabce3cb2 100644
--- a/arch/x86/kernel/ptrace.c
+++ b/arch/x86/kernel/ptrace.c
@@ -557,7 +557,7 @@ restore:
557/* 557/*
558 * Handle PTRACE_PEEKUSR calls for the debug register area. 558 * Handle PTRACE_PEEKUSR calls for the debug register area.
559 */ 559 */
560unsigned long ptrace_get_debugreg(struct task_struct *tsk, int n) 560static unsigned long ptrace_get_debugreg(struct task_struct *tsk, int n)
561{ 561{
562 struct thread_struct *thread = &(tsk->thread); 562 struct thread_struct *thread = &(tsk->thread);
563 unsigned long val = 0; 563 unsigned long val = 0;