[netdrvr] convert sbmac tx to spin_lock_irqsave to prevent early IRQ enable
authorWeiwei Wang <weiwei.wang@windriver.com>
Thu, 18 Sep 2008 00:23:48 +0000 (08:23 +0800)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 25 Sep 2008 02:12:24 +0000 (22:12 -0400)
commitbe61ea52900b97800effbb68478915d73b5d4df2
tree9ce76e41c78966b1da5a70eb6014c432b38995cd
parent315781408ef4a6ff831f8fd37c90d4bb7c234853
[netdrvr] convert sbmac tx to spin_lock_irqsave to prevent early IRQ enable

Netpoll will call the interrupt handler with interrupts
disabled when using kgdboe, so spin_lock_irqsave() should
be used instead of spin_lock_irq() to prevent interrupts
from being incorrectly enabled.

Signed-off-by: Weiwei Wang <weiwei.wang@windriver.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/sb1250-mac.c