diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2018-12-10 11:41:29 +0000 |
---|---|---|
committer | Scott Wood <oss@buserror.net> | 2018-12-21 20:56:41 -0600 |
commit | 0deae39cec6dab3a66794f3e9e83ca4dc30080f1 (patch) | |
tree | 3368ae52860c4090f83eb991206ed4b4bc2098e7 /lib/prime_numbers.c | |
parent | 01f45c8fb8b951e8d5cf648ce7ec16505ce303e7 (diff) | |
download | linux-0deae39cec6dab3a66794f3e9e83ca4dc30080f1.tar.bz2 |
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 'lib/prime_numbers.c')
0 files changed, 0 insertions, 0 deletions