From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751391Ab1AWRHv (ORCPT ); Sun, 23 Jan 2011 12:07:51 -0500 Received: from mail-bw0-f46.google.com ([209.85.214.46]:62982 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751095Ab1AWRHu convert rfc822-to-8bit (ORCPT ); Sun, 23 Jan 2011 12:07:50 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=dw9fUPZggeM2IVaV92wKQCeA2LvGmeC4Dpid6U2cOChXbyPQrRR0cuFH59/sgOUtPk dg+jy7P02resrKQlHAFM2GCcYtvKcX9t1jmmdAivHVnzf0CD8q10Bkm+68DBW2O4xavY gdqqvdjgYlIo3yVOOUFjHb8oMnU+St1ib7G9E= MIME-Version: 1.0 In-Reply-To: <20110123143836.940494132@linutronix.de> References: <20110123143631.392446736@linutronix.de> <20110123143836.940494132@linutronix.de> From: Matt Turner Date: Sun, 23 Jan 2011 17:07:28 +0000 Message-ID: Subject: Re: [patch 1/9] alpha: Replace deprecated spinlock initialization To: Thomas Gleixner Cc: LKML , Ingo Molnar , Peter Zijlstra , Richard Henderson , linux-alpha@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jan 23, 2011 at 3:16 PM, Thomas Gleixner wrote: > SPIN_LOCK_UNLOCK is deprecated. Use the lockdep capable variant > instead. > > Signed-off-by: Thomas Gleixner > Cc: Richard Henderson > Cc: linux-alpha@vger.kernel.org > --- >  arch/alpha/include/asm/rwsem.h |    2 +- >  1 file changed, 1 insertion(+), 1 deletion(-) > > Index: linux-2.6/arch/alpha/include/asm/rwsem.h > =================================================================== > --- linux-2.6.orig/arch/alpha/include/asm/rwsem.h > +++ linux-2.6/arch/alpha/include/asm/rwsem.h > @@ -39,7 +39,7 @@ struct rw_semaphore { >  }; > >  #define __RWSEM_INITIALIZER(name) \ > -       { RWSEM_UNLOCKED_VALUE, SPIN_LOCK_UNLOCKED, \ > +       { RWSEM_UNLOCKED_VALUE, __SPIN_LOCK_UNLOCKED((name).wait_lock), \ >        LIST_HEAD_INIT((name).wait_list) } > >  #define DECLARE_RWSEM(name) \ > > > -- Thanks! I'll apply this. Matt From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Turner Subject: Re: [patch 1/9] alpha: Replace deprecated spinlock initialization Date: Sun, 23 Jan 2011 17:07:28 +0000 Message-ID: References: <20110123143631.392446736@linutronix.de> <20110123143836.940494132@linutronix.de> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=lkVu0gkKZpaEp8fieXLhxTEyeDMeDUvSmSBkeG+pXN4=; b=TZhbAiNumNGmjZFYgRhOmmwzDm4VgLWU+pM3j/nbN+xxjpay/1nLBrR7Am2w0xJZl6 4gWHSfDzOvPH7ymK3NeNaIHPLuSlXkVSWNjGbhDI18HPmcwCPrJkfYprOHTkY+E4+i+d P/9LROQeV7ifk054ZcbxaDxx1SFZ63A1OUgWs= In-Reply-To: <20110123143836.940494132@linutronix.de> Sender: linux-alpha-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="iso-8859-1" To: Thomas Gleixner Cc: LKML , Ingo Molnar , Peter Zijlstra , Richard Henderson , linux-alpha@vger.kernel.org On Sun, Jan 23, 2011 at 3:16 PM, Thomas Gleixner w= rote: > SPIN_LOCK_UNLOCK is deprecated. Use the lockdep capable variant > instead. > > Signed-off-by: Thomas Gleixner > Cc: Richard Henderson > Cc: linux-alpha@vger.kernel.org > --- > =A0arch/alpha/include/asm/rwsem.h | =A0 =A02 +- > =A01 file changed, 1 insertion(+), 1 deletion(-) > > Index: linux-2.6/arch/alpha/include/asm/rwsem.h > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- linux-2.6.orig/arch/alpha/include/asm/rwsem.h > +++ linux-2.6/arch/alpha/include/asm/rwsem.h > @@ -39,7 +39,7 @@ struct rw_semaphore { > =A0}; > > =A0#define __RWSEM_INITIALIZER(name) \ > - =A0 =A0 =A0 { RWSEM_UNLOCKED_VALUE, SPIN_LOCK_UNLOCKED, \ > + =A0 =A0 =A0 { RWSEM_UNLOCKED_VALUE, __SPIN_LOCK_UNLOCKED((name).wai= t_lock), \ > =A0 =A0 =A0 =A0LIST_HEAD_INIT((name).wait_list) } > > =A0#define DECLARE_RWSEM(name) \ > > > -- Thanks! I'll apply this. Matt -- To unsubscribe from this list: send the line "unsubscribe linux-alpha" = in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html