From: Timo Jantunen Date: Tue, 14 Aug 2007 18:56:57 +0000 (+0300) Subject: fix random hang in forcedeth driver when using netconsole X-Git-Tag: v2.6.23-rc4~117 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a2b73302aacddf2543f9d7a25936e4323fa1486;p=pandora-kernel.git fix random hang in forcedeth driver when using netconsole If the forcedeth driver receives too much work in an interrupt, it assumes it has a broken hardware with stuck IRQ. It works around the problem by disabling interrupts on the nic but makes a printk while holding device spinlog - which isn't smart thing to do if you have netconsole on the same nic. This patch moves the printk's out of the spinlock protected area. Without this patch the machine hangs hard. With this patch everything still works even when there is significant increase on CPU usage while using the nic. Signed-off-by: Timo Jantunen Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed