aboutsummaryrefslogtreecommitdiff
path: root/arch/s390/kernel/diag.c
diff options
context:
space:
mode:
authorMike Mason <mmlnx@us.ibm.com>2008-07-22 02:40:17 +1000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2008-07-22 10:39:37 +1000
commitf36c5227cd88b6340c40d62b05859e8213740a97 (patch)
tree4a858eb42fea4a1984bd37e0854c4d96c8c800a2 /arch/s390/kernel/diag.c
parent57a20d8fb0d2a05abe40abd6bb29e3f923721f1b (diff)
powerpc/eeh: Don't panic when EEH_MAX_FAILS is exceeded
This patch changes the EEH_MAX_FAILS action from panic to printing an error message. Panicking under under this condition is too harsh. Although performance will be affected and the device may not recover, the system is still running, which at the very least should allow for a more graceful shutdown. The patch also removes the msleep() within a spinlock, which can lead to a deadlock and is not recommended. Signed-off-by: Mike Mason <mmlnx@us.ibm.com> Acked-by: Linas Vepstas <linasvepstas@gmail.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/s390/kernel/diag.c')
0 files changed, 0 insertions, 0 deletions