aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/cputable.h
diff options
context:
space:
mode:
authorGravatar Christophe Leroy <christophe.leroy@c-s.fr> 2018-12-10 11:41:29 +0000
committerGravatar Scott Wood <oss@buserror.net> 2018-12-21 20:56:41 -0600
commit0deae39cec6dab3a66794f3e9e83ca4dc30080f1 (patch)
tree3368ae52860c4090f83eb991206ed4b4bc2098e7 /arch/powerpc/include/asm/cputable.h
parentpowerpc/fsl-rio: fix spelling mistake "reserverd" -> "reserved" (diff)
downloadlinux-0deae39cec6dab3a66794f3e9e83ca4dc30080f1.tar.gz
linux-0deae39cec6dab3a66794f3e9e83ca4dc30080f1.tar.bz2
linux-0deae39cec6dab3a66794f3e9e83ca4dc30080f1.zip
powerpc/83xx: handle machine check caused by watchdog timer
When the watchdog timer is set in interrupt mode, it causes a machine check when it times out. The purpose of this mode is to ease debugging, not to crash the kernel and reboot the machine. This patch implements a special handling for that, in order to not crash the kernel if the watchdog times out while in interrupt or within the idle task. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> [scottwood: added missing #include] Signed-off-by: Scott Wood <oss@buserror.net>
Diffstat (limited to 'arch/powerpc/include/asm/cputable.h')
-rw-r--r--arch/powerpc/include/asm/cputable.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/cputable.h b/arch/powerpc/include/asm/cputable.h
index a0395ccbbe9e..d05f0c28e515 100644
--- a/arch/powerpc/include/asm/cputable.h
+++ b/arch/powerpc/include/asm/cputable.h
@@ -44,6 +44,7 @@ extern int machine_check_e500(struct pt_regs *regs);
extern int machine_check_e200(struct pt_regs *regs);
extern int machine_check_47x(struct pt_regs *regs);
int machine_check_8xx(struct pt_regs *regs);
+int machine_check_83xx(struct pt_regs *regs);
extern void cpu_down_flush_e500v2(void);
extern void cpu_down_flush_e500mc(void);