> +config ARCH_HAVE_CMPXCHG64
> + bool
64-bit architectures must support this as long is 64-bits wide.
So this should have a
default y if 64BIT
which also means you only need to explicitly select in on 32-bit
architectures that support 64-bit cmpxchg.
On Tue, 2018-05-15 at 12:54 +1000, Michael Ellerman wrote:
> Bart Van Assche writes:
> >
> > +---
> > +| arch |status|
> > +---
> > +| alpha: | ok |
> > +| arc: | TODO |
> > +| arm: |!thumb|
> > +|
Hi Bart,
On Mon, May 14, 2018 at 11:46:33AM -0700, Bart Van Assche wrote:
[...]
> diff --git a/Documentation/features/locking/cmpxchg64/arch-support.txt
> b/Documentation/features/locking/cmpxchg64/arch-support.txt
> new file mode 100644
> index ..65b3290ce5d5
> --- /dev/null
> +++
Hi Bart,
Bart Van Assche writes:
>
...
> diff --git a/Documentation/features/locking/cmpxchg64/arch-support.txt
> b/Documentation/features/locking/cmpxchg64/arch-support.txt
> new file mode 100644
> index ..65b3290ce5d5
> --- /dev/null
> +++ b/Documentation/features/locking/cmpxchg64
Hi Bart,
On Mon, May 14, 2018 at 10:42 PM, Bart Van Assche
wrote:
> On Mon, 2018-05-14 at 11:50 -0700, Max Filippov wrote:
>> On Mon, May 14, 2018 at 11:46 AM, Bart Van Assche
>> wrote:
>> > The next patch in this series introduces a call to cmpxchg64()
>> > in the block layer core for those arc
On Mon, 2018-05-14 at 11:50 -0700, Max Filippov wrote:
> On Mon, May 14, 2018 at 11:46 AM, Bart Van Assche
> wrote:
> > The next patch in this series introduces a call to cmpxchg64()
> > in the block layer core for those architectures on which this
> > functionality is available. Make it possible
On Mon, May 14, 2018 at 11:46 AM, Bart Van Assche
wrote:
> The next patch in this series introduces a call to cmpxchg64()
> in the block layer core for those architectures on which this
> functionality is available. Make it possible to test whether
> cmpxchg64() is available by introducing CONFIG_
7 matches
Mail list logo