| 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> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 1/3] Loongson-2F: Flush the branch target history such as BTB and RAS, Ralf Baechle |
|---|---|
| Next by Date: | MIPS raw_local_irq_restore flags, Mikael Starvik |
| Previous by Thread: | [PATCH] MIPS: Fix elfcore.c build warning, Yang Shi |
| Next by Thread: | MIPS raw_local_irq_restore flags, Mikael Starvik |
| Indexes: | [Date] [Thread] [Top] [All Lists] |