diff options
author | Mike Mason <mmlnx@us.ibm.com> | 2008-07-22 02:40:17 +1000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-07-22 10:39:37 +1000 |
commit | f36c5227cd88b6340c40d62b05859e8213740a97 (patch) | |
tree | 4a858eb42fea4a1984bd37e0854c4d96c8c800a2 /drivers/char/n_hdlc.c | |
parent | 57a20d8fb0d2a05abe40abd6bb29e3f923721f1b (diff) | |
download | blackbird-op-linux-f36c5227cd88b6340c40d62b05859e8213740a97.tar.gz blackbird-op-linux-f36c5227cd88b6340c40d62b05859e8213740a97.zip |
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 'drivers/char/n_hdlc.c')
0 files changed, 0 insertions, 0 deletions