Skip to content
Commit be61ea52 authored by Weiwei Wang's avatar Weiwei Wang Committed by Jeff Garzik
Browse files

[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: default avatarWeiwei Wang <weiwei.wang@windriver.com>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent 31578140
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment