From: Mike Mason Date: Mon, 21 Jul 2008 16:40:17 +0000 (+1000) Subject: powerpc/eeh: Don't panic when EEH_MAX_FAILS is exceeded X-Git-Tag: v2.6.27-rc1~865^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f36c5227cd88b6340c40d62b05859e8213740a97;p=pandora-kernel.git 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 Acked-by: Linas Vepstas Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed