diff options
author | Jaswinder Singh Rajput <jaswinderrajput@gmail.com> | 2009-06-14 02:19:41 -0400 |
---|---|---|
committer | Jaswinder Singh Rajput <jaswinderrajput@gmail.com> | 2009-06-14 02:19:41 -0400 |
commit | c14e1a13b77e0c9cbae7c356ee13af4fc3064428 (patch) | |
tree | 132f2363dc17bc6b651eb99697023faf7ed86456 /arch/mn10300/include | |
parent | 44b7532b8b464f606053562400719c9c21276037 (diff) |
headers_check fix: mn10300, ptrace.h
fix the following 'make headers_check' warning:
usr/include/asm-mn10300/ptrace.h:80: extern's make no sense in userspace
Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Diffstat (limited to 'arch/mn10300/include')
-rw-r--r-- | arch/mn10300/include/asm/ptrace.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/mn10300/include/asm/ptrace.h b/arch/mn10300/include/asm/ptrace.h index 921942ed1b03..1b0ba5e182b0 100644 --- a/arch/mn10300/include/asm/ptrace.h +++ b/arch/mn10300/include/asm/ptrace.h | |||
@@ -77,8 +77,6 @@ struct pt_regs { | |||
77 | }; | 77 | }; |
78 | #endif | 78 | #endif |
79 | 79 | ||
80 | extern struct pt_regs *__frame; /* current frame pointer */ | ||
81 | |||
82 | /* Arbitrarily choose the same ptrace numbers as used by the Sparc code. */ | 80 | /* Arbitrarily choose the same ptrace numbers as used by the Sparc code. */ |
83 | #define PTRACE_GETREGS 12 | 81 | #define PTRACE_GETREGS 12 |
84 | #define PTRACE_SETREGS 13 | 82 | #define PTRACE_SETREGS 13 |
@@ -90,6 +88,8 @@ extern struct pt_regs *__frame; /* current frame pointer */ | |||
90 | 88 | ||
91 | #if defined(__KERNEL__) | 89 | #if defined(__KERNEL__) |
92 | 90 | ||
91 | extern struct pt_regs *__frame; /* current frame pointer */ | ||
92 | |||
93 | #if !defined(__ASSEMBLY__) | 93 | #if !defined(__ASSEMBLY__) |
94 | struct task_struct; | 94 | struct task_struct; |
95 | 95 | ||
@@ -107,5 +107,4 @@ extern void user_disable_single_step(struct task_struct *); | |||
107 | #define profile_pc(regs) ((regs)->pc) | 107 | #define profile_pc(regs) ((regs)->pc) |
108 | 108 | ||
109 | #endif /* __KERNEL__ */ | 109 | #endif /* __KERNEL__ */ |
110 | |||
111 | #endif /* _ASM_PTRACE_H */ | 110 | #endif /* _ASM_PTRACE_H */ |