]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ieee1394: merge from Linus
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 17 Sep 2006 16:17:19 +0000 (18:17 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 17 Sep 2006 16:19:31 +0000 (18:19 +0200)
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 <stefanr@s5r6.in-berlin.de>
1  2 
drivers/ieee1394/hosts.c
drivers/ieee1394/ohci1394.c

index 3ed56be8706c1d585919cb798414ed9db29f2d5e,4feead4a35c5b7b404b2aacee5e2282f1dd4cd52..59e6f49545bf3c6e596f7ce48400618eec6deeac
@@@ -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
Simple merge