summaryrefslogtreecommitdiff
path: root/drivers/s390
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2007-06-20 15:02:55 +0400
committerJeff Garzik <jeff@garzik.org>2007-06-21 03:12:42 +0400
commitbfac0d0b6c6e20933b46f53a964c130f2f2bfa85 (patch)
treee5da1131c280ad6e99ce2aa0b948919a54d8edea /drivers/s390
parent651bbc6224a95eb5bf0ccf6ecd61fc244b38d1f5 (diff)
downloadlinux-bfac0d0b6c6e20933b46f53a964c130f2f2bfa85.tar.xz
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')
-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 648ee132cda4..5303aea6f4d3 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