WSL2-Linux-Kernel/arch/mips/sgi-ip22
Yury Polyanskiy ce384d83d0 MIPS: die() does not call die notifier chain
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>

---
2010-04-30 20:52:45 +01:00
..
Makefile MIPS: IP22, IP28: Build with -Werror 2009-09-17 20:07:44 +02:00
ip22-berr.c MIPS: die() does not call die notifier chain 2010-04-30 20:52:45 +01:00
ip22-eisa.c MIPS: Move several variables from .bss to .init.data 2009-12-17 01:57:27 +00:00
ip22-hpc.c [PATCH] mips: nuke trailing whitespace 2005-09-05 00:06:07 -07:00
ip22-int.c MIPS: Tracing: Add IRQENTRY_EXIT section for MIPS 2009-12-17 01:57:24 +00:00
ip22-mc.c [MIPS] IP28: switch to "normal" mode after PROM no longer needed 2008-07-15 18:44:32 +01:00
ip22-nvram.c [MIPS] IP22: Fix broken eeprom access by using __raw_readl/__raw_writel 2007-11-26 17:26:14 +00:00
ip22-platform.c MIPS: IP22/28: Switch over to RTC class driver 2008-10-15 12:46:51 +01:00
ip22-reset.c MIPS: IP22: Fix hang in power button interrupt handler 2009-05-20 18:53:13 +01:00
ip22-setup.c MIPS: Move several variables from .bss to .init.data 2009-12-17 01:57:27 +00:00
ip22-time.c MIPS: Tracing: Add IRQENTRY_EXIT section for MIPS 2009-12-17 01:57:24 +00:00
ip28-berr.c MIPS: die() does not call die notifier chain 2010-04-30 20:52:45 +01:00