MIPS: die() does not call die notifier chain
authorYury Polyanskiy <ypolyans@princeton.edu>
Mon, 26 Apr 2010 04:53:10 +0000 (00:53 -0400)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 30 Apr 2010 19:52:45 +0000 (20:52 +0100)
The MIPS implementation of die() forgets to call notify_die() and thus notifiers
registered via register_die_notifier() are not called.  This results in kgdb not
being activated on exceptions.

The only subtlety is that notify_die declares its regs argument w/o const, so
the const had to be removed from mips die() as well.

[Ralf: Fixed build error for SGI IP22 and IP28 platforms.]

Signed-off-by: Yury Polyanskiy <ypolyans@princeton.edu>
Cc: linux-mips@linux-mips.org
Patchworks: http://patchwork.linux-mips.org/patch/1142/
Acked-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
---


No differences found