From: Ayaz Abdulla Date: Thu, 5 Mar 2009 08:02:34 +0000 (+0000) Subject: forcedeth: fix irq clearing and napi spin lock changes X-Git-Tag: v2.6.30-rc1~662^2~271 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b2bb76f575699eff3f58b18dcfebf5d3b1f6ddb;p=pandora-kernel.git forcedeth: fix irq clearing and napi spin lock changes This patch clears the irqstatus register with the exact same events it has read from it. Since the read-write operation is not atomic, a new irqstatus bit could have been set in between these operations and would then be cleared accidentally. Secondly, we now don't need any spin lock protection when scheduling/completing napi poll as the isr will not execute anymore (as we turn off all interrupts now). Signed-off-by: Ayaz Abdulla Signed-off-by: David S. Miller --- Reading git-diff-tree failed