summaryrefslogtreecommitdiff
path: root/arch/loongarch/include/asm/ptrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/loongarch/include/asm/ptrace.h')
-rw-r--r--arch/loongarch/include/asm/ptrace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/loongarch/include/asm/ptrace.h b/arch/loongarch/include/asm/ptrace.h
index 35f0958163ac..f3ddaed9ef7f 100644
--- a/arch/loongarch/include/asm/ptrace.h
+++ b/arch/loongarch/include/asm/ptrace.h
@@ -162,7 +162,7 @@ static inline void regs_set_return_value(struct pt_regs *regs, unsigned long val
#define instruction_pointer(regs) ((regs)->csr_era)
#define profile_pc(regs) instruction_pointer(regs)
-extern void die(const char *, struct pt_regs *) __noreturn;
+extern void die(const char *str, struct pt_regs *regs);
static inline void die_if_kernel(const char *str, struct pt_regs *regs)
{