summaryrefslogtreecommitdiffstats
path: root/drivers/s390/net
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2007-06-20 13:02:55 +0200
committerJeff Garzik <jeff@garzik.org>2007-06-20 19:12:42 -0400
commitbfac0d0b6c6e20933b46f53a964c130f2f2bfa85 (patch)
treee5da1131c280ad6e99ce2aa0b948919a54d8edea /drivers/s390/net
parent651bbc6224a95eb5bf0ccf6ecd61fc244b38d1f5 (diff)
s390: netiucv spinlock initializer cleanup
spinlock initializer cleanup in netiucv.c Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Frank Pavlic <fpavlic@de.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/s390/net')
-rw-r--r--drivers/s390/net/netiucv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/net/netiucv.c b/drivers/s390/net/netiucv.c
index 648ee132cda..5303aea6f4d 100644
--- a/drivers/s390/net/netiucv.c
+++ b/drivers/s390/net/netiucv.c
@@ -212,7 +212,7 @@ struct iucv_connection {
*/
static struct list_head iucv_connection_list =
LIST_HEAD_INIT(iucv_connection_list);
-static rwlock_t iucv_connection_rwlock = RW_LOCK_UNLOCKED;
+static DEFINE_RWLOCK(iucv_connection_rwlock);
/**
* Representation of event-data for the