[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150715164654.GS19282@twins.programming.kicks-ass.net>
Date: Wed, 15 Jul 2015 18:46:54 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Will Deacon <will.deacon@....com>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-arch@...r.kernel.org" <linux-arch@...r.kernel.org>,
"rth@...ddle.net" <rth@...ddle.net>,
"vgupta@...opsys.com" <vgupta@...opsys.com>,
"linux@....linux.org.uk" <linux@....linux.org.uk>,
"hskinnemoen@...il.com" <hskinnemoen@...il.com>,
"realmz6@...il.com" <realmz6@...il.com>,
"dhowells@...hat.com" <dhowells@...hat.com>,
"rkuo@...eaurora.org" <rkuo@...eaurora.org>,
"tony.luck@...el.com" <tony.luck@...el.com>,
"geert@...ux-m68k.org" <geert@...ux-m68k.org>,
"james.hogan@...tec.com" <james.hogan@...tec.com>,
"ralf@...ux-mips.org" <ralf@...ux-mips.org>,
"jejb@...isc-linux.org" <jejb@...isc-linux.org>,
"benh@...nel.crashing.org" <benh@...nel.crashing.org>,
"heiko.carstens@...ibm.com" <heiko.carstens@...ibm.com>,
"davem@...emloft.net" <davem@...emloft.net>,
"cmetcalf@...hip.com" <cmetcalf@...hip.com>,
"mingo@...nel.org" <mingo@...nel.org>
Subject: Re: [RFC][PATCH 04/24] arm64: Provide atomic_{or,xor,and}
On Wed, Jul 15, 2015 at 05:01:09PM +0100, Will Deacon wrote:
> On Thu, Jul 09, 2015 at 06:28:59PM +0100, Peter Zijlstra wrote:
> > Implement atomic logic ops -- atomic_{or,xor,and}.
> >
> > These will replace the atomic_{set,clear}_mask functions that are
> > available on some archs.
> >
> >
> > Signed-off-by: Peter Zijlstra (Intel) <peterz@...radead.org>
> > ---
> > arch/arm64/include/asm/atomic.h | 6 ++++++
> > 1 file changed, 6 insertions(+)
> >
> > --- a/arch/arm64/include/asm/atomic.h
> > +++ b/arch/arm64/include/asm/atomic.h
> > @@ -84,6 +84,9 @@ static inline int atomic_##op##_return(i
> >
> > ATOMIC_OPS(add, add)
> > ATOMIC_OPS(sub, sub)
> > +ATOMIC_OP(and, and)
> > +ATOMIC_OP(or, orr)
>
> FYI, but without selecting CONFIG_ARCH_HAS_ATOMIC_OR this change leads to
> build errors:
Yah, already ran into that; I've a new set cooking which fixes all these
issues. I get the interesting build fails after a day or so (from the
build-bot).
I just pushed a fresh set into it and was hoping to be able to post
tomorrow.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists