Skip to contentSkip to conversation

S390: Use newer, non-deprecated __RW_LOCK_UNLOCKED macro.

PATCH New Robert P. J. Day 1 participant 1 message Mar 15, 2008

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 S390: Use newer, non-deprecated __RW_LOCK_UNLOCKED macro.

---

net/iucv/af_iucv.c +1 -1
index fee22ca..7b0038f 100644
@@ -53,7 +53,7 @@ static int iucv_callback_connreq(struct iucv_path *, u8 ipvmid[8],
 static void iucv_callback_connrej(struct iucv_path *, u8 ipuser[16]);
 
 static struct iucv_sock_list iucv_sk_list = {
-	.lock = RW_LOCK_UNLOCKED,
+	.lock = __RW_LOCK_UNLOCKED(iucv_sk_list.lock),
 	.autobind_name = ATOMIC_INIT(0)
 };
 

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.

http://crashcourse.ca Waterloo, Ontario, CANADA
========================================================================