diff options
Diffstat (limited to 'include/asm-mips')
-rw-r--r-- | include/asm-mips/ptrace.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-mips/ptrace.h b/include/asm-mips/ptrace.h index 85b44366343a..786f7e3c99bc 100644 --- a/include/asm-mips/ptrace.h +++ b/include/asm-mips/ptrace.h | |||
@@ -86,9 +86,9 @@ struct pt_regs { | |||
86 | 86 | ||
87 | extern asmlinkage void do_syscall_trace(struct pt_regs *regs, int entryexit); | 87 | extern asmlinkage void do_syscall_trace(struct pt_regs *regs, int entryexit); |
88 | 88 | ||
89 | extern NORET_TYPE void die(const char *, struct pt_regs *) ATTRIB_NORET; | 89 | extern NORET_TYPE void die(const char *, const struct pt_regs *) ATTRIB_NORET; |
90 | 90 | ||
91 | static inline void die_if_kernel(const char *str, struct pt_regs *regs) | 91 | static inline void die_if_kernel(const char *str, const struct pt_regs *regs) |
92 | { | 92 | { |
93 | if (unlikely(!user_mode(regs))) | 93 | if (unlikely(!user_mode(regs))) |
94 | die(str, regs); | 94 | die(str, regs); |