]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
mv643xx_eth: fix inconsistent lock semantics
authorLennert Buytenhek <buytenh@wantstofly.org>
Sun, 24 Aug 2008 00:30:42 +0000 (02:30 +0200)
committerLennert Buytenhek <buytenh@marvell.com>
Sun, 24 Aug 2008 01:33:16 +0000 (03:33 +0200)
commit8e0b1bf6ac6c4c6dd985e586cd765aede4678bba
treef54c0f17522fab635509b383220298193ee2a575
parent92c70f27d2a78873c940e77c7f075cd8e2e60a2d
mv643xx_eth: fix inconsistent lock semantics

Nicolas Pitre noted that mv643xx_eth_poll was incorrectly using
non-IRQ-safe locks while checking whether to wake up the netdevice's
transmit queue.  Convert the locking to *_irq() variants, since we
are running from softirq context where interrupts are enabled.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
drivers/net/mv643xx_eth.c