[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 8 Sep 2015 21:00:32 -0700
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Boqun Feng <boqun.feng@...il.com>
Cc: linux-kernel@...r.kernel.org,
Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>,
Will Deacon <will.deacon@....com>,
Jonathan Corbet <corbet@....net>,
Shradha Shah <sshah@...arflare.com>,
Kishon Vijay Abraham I <kishon@...com>,
William Hubbs <w.d.hubbs@...il.com>,
Chris Brannon <chris@...-brannons.com>,
Kirk Reiser <kirk@...sers.ca>,
Samuel Thibault <samuel.thibault@...-lyon.org>,
Aybuke Ozdemir <aybuke.147@...il.com>,
Davidlohr Bueso <dave@...olabs.net>,
linux-net-drivers@...arflare.com, linux-doc@...r.kernel.org,
netdev@...r.kernel.org, speakup@...ux-speakup.org,
devel@...verdev.osuosl.org
Subject: Re: [PATCH v2] atomics,cmpxchg: Privatize the inclusion of
asm/cmpxchg.h
On Wed, Sep 09, 2015 at 09:27:04AM +0800, Boqun Feng wrote:
> After commit:
>
> atomics: add acquire/release/relaxed variants of some atomic operations
>
> Architectures may only provide {cmp,}xchg_relaxed definitions in
> asm/cmpxchg.h. Other variants, such as {cmp,}xchg, may be built in
> linux/atomic.h, which means simply including asm/cmpxchg.h may not get
> the definitions of all the{cmp,}xchg variants. Therefore, we should
> privatize the inclusions of asm/cmpxchg.h to keep it only included in
> arch/* and replace the inclusions outside with linux/atomic.h
>
> Acked-by: Will Deacon <will.deacon@....com>
> Signed-off-by: Boqun Feng <boqun.feng@...il.com>
> ---
> v1 --> v2:
> 1. rebase on current master branch of tip tree
> 2. remove documentation modification
>
Acked-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists