Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=002a98f14720f90b107e8c44b7733f9bd5dff728
Commit:     002a98f14720f90b107e8c44b7733f9bd5dff728
Parent:     17a19b795e9187d65b6e45cb22797725d50f7edb
Author:     Matthias Kaehlcke <[EMAIL PROTECTED]>
AuthorDate: Fri Oct 12 19:57:23 2007 +0200
Committer:  Stefan Richter <[EMAIL PROTECTED]>
CommitDate: Tue Oct 16 23:59:59 2007 +0200

    ieee1394: 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]>
    Signed-off-by: Stefan Richter <[EMAIL PROTECTED]>
---
 drivers/ieee1394/ieee1394_core.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/ieee1394/ieee1394_core.c b/drivers/ieee1394/ieee1394_core.c
index 98fd985..36c747b 100644
--- a/drivers/ieee1394/ieee1394_core.c
+++ b/drivers/ieee1394/ieee1394_core.c
@@ -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
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to