File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -77,8 +77,6 @@ struct pt_regs {
77
77
};
78
78
#endif
79
79
80
- extern struct pt_regs * __frame ; /* current frame pointer */
81
-
82
80
/* Arbitrarily choose the same ptrace numbers as used by the Sparc code. */
83
81
#define PTRACE_GETREGS 12
84
82
#define PTRACE_SETREGS 13
@@ -90,6 +88,8 @@ extern struct pt_regs *__frame; /* current frame pointer */
90
88
91
89
#if defined(__KERNEL__ )
92
90
91
+ extern struct pt_regs * __frame ; /* current frame pointer */
92
+
93
93
#if !defined(__ASSEMBLY__ )
94
94
struct task_struct ;
95
95
@@ -107,5 +107,4 @@ extern void user_disable_single_step(struct task_struct *);
107
107
#define profile_pc (regs ) ((regs)->pc)
108
108
109
109
#endif /* __KERNEL__ */
110
-
111
110
#endif /* _ASM_PTRACE_H */
Original file line number Diff line number Diff line change 11
11
#ifndef _ASM_SETUP_H
12
12
#define _ASM_SETUP_H
13
13
14
+ #ifdef __KERNEL__
14
15
extern void __init unit_setup (void );
15
16
extern void __init unit_init_IRQ (void );
16
-
17
+ #endif
17
18
#endif /* _ASM_SETUP_H */
You can’t perform that action at this time.
0 commit comments