From: Thomas Gleixner Date: Wed, 20 Jun 2007 11:02:55 +0000 (+0200) Subject: s390: netiucv spinlock initializer cleanup X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bfac0d0b6c6e20933b46f53a964c130f2f2bfa85;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git s390: netiucv spinlock initializer cleanup spinlock initializer cleanup in netiucv.c Signed-off-by: Thomas Gleixner Signed-off-by: Frank Pavlic Signed-off-by: Jeff Garzik --- 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