Subject: [patch 1/3] af_iucv: Use non-deprecated __RW_LOCK_UNLOCKED macro.

From: Ursula Braun <[email-masked]>
Date: Tue, 01 Apr 2008 15:45:22 +0200

From: Robert P. J. Day <[email-masked]>

Signed-off-by: Robert P. J. Day <[email-masked]>
Signed-off-by: Ursula Braun <[email-masked]>
---

 net/iucv/af_iucv.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: net-2.6.26-uschi/net/iucv/af_iucv.c
===================================================================
--- net-2.6.26-uschi.orig/net/iucv/af_iucv.c
+++ net-2.6.26-uschi/net/iucv/af_iucv.c
@@ -53,7 +53,7 @@ static int iucv_callback_connreq(struct 
 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)
 };

--