From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932901AbZKFWoh (ORCPT ); Fri, 6 Nov 2009 17:44:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933154AbZKFWlr (ORCPT ); Fri, 6 Nov 2009 17:41:47 -0500 Received: from www.tglx.de ([62.245.132.106]:53985 "EHLO www.tglx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932794AbZKFWlo (ORCPT ); Fri, 6 Nov 2009 17:41:44 -0500 Message-Id: <20091106223806.559894926@linutronix.de> User-Agent: quilt/0.47-1 Date: Fri, 06 Nov 2009 22:41:19 -0000 From: Thomas Gleixner To: LKML Cc: Ingo Molnar , Peter Zijlstra Subject: [patch 04/16] cred: Replace old style lock initializer References: <20091106223547.784916750@linutronix.de> Content-Disposition: inline; filename=cred-replace-old-style-lock-init.patch Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SPIN_LOCK_UNLOCKED is deprecated. Use __SPIN_LOCK_UNLOCKED instead. Signed-off-by: Thomas Gleixner --- kernel/cred.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6/kernel/cred.c =================================================================== --- linux-2.6.orig/kernel/cred.c +++ linux-2.6/kernel/cred.c @@ -39,7 +39,7 @@ static struct kmem_cache *cred_jar; static struct thread_group_cred init_tgcred = { .usage = ATOMIC_INIT(2), .tgid = 0, - .lock = SPIN_LOCK_UNLOCKED, + .lock = __SPIN_LOCK_UNLOCKED(init_tgcred.lock), }; #endif