netdev: Move queue_lock into struct netdev_queue.
authorDavid S. Miller <davem@davemloft.net>
Wed, 9 Jul 2008 00:18:23 +0000 (17:18 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Jul 2008 00:18:23 +0000 (17:18 -0700)
commitdc2b48475a0a36f8b3bbb2da60d3a006dc5c2c84
treeb2421a338840bd1c675f4f91de7c7cf03863fb78
parent5ce2d488fe039ddd86a638496cf704df86c74eeb
netdev: Move queue_lock into struct netdev_queue.

The lock is now an attribute of the device queue.

One thing to notice is that "suspicious" places
emerge which will need specific training about
multiple queue handling.  They are so marked with
explicit "netdev->rx_queue" and "netdev->tx_queue"
references.

Signed-off-by: David S. Miller <davem@davemloft.net>
12 files changed:
drivers/net/ifb.c
include/linux/netdevice.h
net/core/dev.c
net/mac80211/main.c
net/mac80211/wme.c
net/sched/sch_api.c
net/sched/sch_cbq.c
net/sched/sch_generic.c
net/sched/sch_hfsc.c
net/sched/sch_htb.c
net/sched/sch_netem.c
net/sched/sch_teql.c