diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2005-06-16 16:39:12 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:31:26 -0400 |
commit | 260c96738cf30f489108cd0fb3f10dcd11cbb5ca (patch) | |
tree | f9e72b1bf084ad2d38487fa8fc7dae01660dc08e /arch/mips | |
parent | 778220f7c4a3357f7464a45044fd4937126ba6c5 (diff) |
Mark __die() "noreturn" for real.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/kernel/traps.c | 5 |
1 files changed, 3 insertions, 2 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 | ||
255 | static DEFINE_SPINLOCK(die_lock); | 255 | static DEFINE_SPINLOCK(die_lock); |
256 | 256 | ||
257 | NORET_TYPE void __die(const char * str, struct pt_regs * regs, | 257 | NORET_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 | ||