From: Stefan Richter Date: Sun, 17 Sep 2006 16:17:19 +0000 (+0200) Subject: ieee1394: merge from Linus X-Git-Tag: v2.6.19-rc2~263^2~32 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9b4f2e9576658c4e52d95dc8d309f51b2e2db096;p=platform%2Fkernel%2Flinux-stable.git ieee1394: merge from Linus Conflicts: drivers/ieee1394/hosts.c Patch "lockdep: annotate ieee1394 skb-queue-head locking" was meddling with patch "ieee1394: fix kerneldoc of hpsb_alloc_host". Signed-off-by: Stefan Richter --- 9b4f2e9576658c4e52d95dc8d309f51b2e2db096 diff --cc drivers/ieee1394/hosts.c index 3ed56be,4feead4..59e6f49 --- a/drivers/ieee1394/hosts.c +++ b/drivers/ieee1394/hosts.c @@@ -90,8 -90,6 +90,16 @@@ static int alloc_hostnum_cb(struct hpsb return 0; } ++/* ++ * The pending_packet_queue is special in that it's processed ++ * from hardirq context too (such as hpsb_bus_reset()). Hence ++ * split the lock class from the usual networking skb-head ++ * lock class by using a separate key for it: ++ */ ++static struct lock_class_key pending_packet_queue_key; ++ +static DEFINE_MUTEX(host_num_alloc); + /** * hpsb_alloc_host - allocate a new host controller. * @drv: the driver that will manage the host controller