ieee1394_core.c: use DEFINE_SPINLOCK for spinlock definition
PATCH 2/2 ieee1394_core.c: use DEFINE_SPINLOCK for spinlock definition
drivers/ieee1394/ieee1394_core.c: Define spinlock using DEFINE_SPINLOCK instead of assignment to SPIN_LOCK_UNLOCKED
Signed-off-by Matthias Kaehlcke <[email protected]>
--
drivers/ieee1394/ieee1394_core.c +1 -1
@@ -488,7 +488,7 @@ void hpsb_selfid_complete(struct hpsb_host *host, int phyid, int isroot)highlevel_host_reset (host); } -static spinlock_t pending_packets_lock =SPIN_LOCK_UNLOCKED ; +static DEFINE_SPINLOCK (pending_packets_lock);/** * hpsb_packet_sent - notify core of sending a packet
Signature · 10 lines
Matthias Kaehlcke
Linux Application Developer
Barcelona
La guerra es un acto abominable en el que se matan personas que no
se conocen, dirigidas por personas que se conocen y no se matan
.''`.
using free software / Debian GNU/Linux | http://debian.org : :' :
`. `'`
gpg --keyserver pgp.mit.edu --recv-keys 47D8E5D4 `-Quoted 2 lines · Matthias Kaehlcke
drivers/ieee1394/ieee1394_core.c: Define spinlock usingDEFINE_SPINLOCKinstead of assignment toSPIN_LOCK_UNLOCKED
Committed to linux1394-2.6.git, thanks.
Signature · 3 lines
Stefan Richter -=====-=-=== =-=- -==-- http://arcgraph.de/sr/