aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/mips/kernel/traps.c5
-rw-r--r--include/asm-mips/system.h2
2 files changed, 4 insertions, 3 deletions
diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c
index 9419a3542c24..b502dc970b35 100644
--- a/arch/mips/kernel/traps.c
+++ b/arch/mips/kernel/traps.c
@@ -254,8 +254,9 @@ void show_registers(struct pt_regs *regs)
254 254
255static DEFINE_SPINLOCK(die_lock); 255static DEFINE_SPINLOCK(die_lock);
256 256
257NORET_TYPE void __die(const char * str, struct pt_regs * regs, 257NORET_TYPE void ATTRIB_NORET __die(const char * str, struct pt_regs * regs,
258 const char * file, const char * func, unsigned long line) 258 const char * file, const char * func,
259 unsigned long line)
259{ 260{
260 static int die_counter; 261 static int die_counter;
261 262
diff --git a/include/asm-mips/system.h b/include/asm-mips/system.h
index ec29c9349e07..b9c24bbad9e2 100644
--- a/include/asm-mips/system.h
+++ b/include/asm-mips/system.h
@@ -431,7 +431,7 @@ extern void *set_except_vector(int n, void *addr);
431extern void per_cpu_trap_init(void); 431extern void per_cpu_trap_init(void);
432 432
433extern NORET_TYPE void __die(const char *, struct pt_regs *, const char *file, 433extern NORET_TYPE void __die(const char *, struct pt_regs *, const char *file,
434 const char *func, unsigned long line); 434 const char *func, unsigned long line) ATTRIB_NORET;
435extern void __die_if_kernel(const char *, struct pt_regs *, const char *file, 435extern void __die_if_kernel(const char *, struct pt_regs *, const char *file,
436 const char *func, unsigned long line); 436 const char *func, unsigned long line);
437 437