]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[TOKENRING]: Use interrupt-safe locking with rif_lock.
authorJay Vosburgh <fubar@us.ibm.com>
Thu, 18 Aug 2005 21:04:51 +0000 (14:04 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Aug 2005 21:04:51 +0000 (14:04 -0700)
commit001dd250c1c68667a5c3b74979fa614e2edc9ceb
tree95bafd6d3dbd0f7ca8bc0c41c2046a002e7c7660
parent6be382ea0c767a81be0e7980400b9b18167b3261
[TOKENRING]: Use interrupt-safe locking with rif_lock.

Change operations on rif_lock from spin_{un}lock_bh to
spin_{un}lock_irq{save,restore} equivalents.  Some of the
rif_lock critical sections are called from interrupt context via
tr_type_trans->tr_add_rif_info.  The TR NIC drivers call tr_type_trans
from their packet receive handlers.

Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/802/tr.c