linux-mips
[Top] [All Lists]

Re: [PATCH] MIPS: Initialize an atomic_t properly with ATOMIC_INIT(0).

To: "Robert P. J. Day" <rpjday@crashcourse.ca>
Subject: Re: [PATCH] MIPS: Initialize an atomic_t properly with ATOMIC_INIT(0).
From: Ralf Baechle <ralf@linux-mips.org>
Date: Thu, 11 Mar 2010 11:06:48 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <alpine.LFD.2.00.1002271201230.20373@localhost>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <alpine.LFD.2.00.1002271201230.20373@localhost>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.20 (2009-08-17)
On Sat, Feb 27, 2010 at 12:02:51PM -0500, Robert P. J. Day wrote:

>   AFAIK, the technically correct way to initialize atomic variables is
> with ATOMIC_INIT(n).

Indeed, applied.

Thanks!

  Ralf

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [PATCH] MIPS: Initialize an atomic_t properly with ATOMIC_INIT(0)., Ralf Baechle <=