mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 05:32:00 +00:00
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>
This commit is contained in:
parent
44b7532b8b
commit
c14e1a13b7
@ -77,8 +77,6 @@ struct pt_regs {
|
||||
};
|
||||
#endif
|
||||
|
||||
extern struct pt_regs *__frame; /* current frame pointer */
|
||||
|
||||
/* Arbitrarily choose the same ptrace numbers as used by the Sparc code. */
|
||||
#define PTRACE_GETREGS 12
|
||||
#define PTRACE_SETREGS 13
|
||||
@ -90,6 +88,8 @@ extern struct pt_regs *__frame; /* current frame pointer */
|
||||
|
||||
#if defined(__KERNEL__)
|
||||
|
||||
extern struct pt_regs *__frame; /* current frame pointer */
|
||||
|
||||
#if !defined(__ASSEMBLY__)
|
||||
struct task_struct;
|
||||
|
||||
@ -107,5 +107,4 @@ extern void user_disable_single_step(struct task_struct *);
|
||||
#define profile_pc(regs) ((regs)->pc)
|
||||
|
||||
#endif /* __KERNEL__ */
|
||||
|
||||
#endif /* _ASM_PTRACE_H */
|
||||
|
Loading…
Reference in New Issue
Block a user