arm64: barrier: Implement smp_cond_load_relaxed
authorWill Deacon <will.deacon@arm.com>
Wed, 31 Jan 2018 15:55:24 +0000 (15:55 +0000)
committerWill Deacon <will.deacon@arm.com>
Thu, 5 Jul 2018 09:05:05 +0000 (10:05 +0100)
commit598865c5f32d6e11e99f2aac07348e5fd17cdc03
tree139fcf2abd81aee3dfc63e6444a192b497a12049
parent76f4e2da45b44bf70f61c28fcbc91668492463e0
arm64: barrier: Implement smp_cond_load_relaxed

We can provide an implementation of smp_cond_load_relaxed using READ_ONCE
and __cmpwait_relaxed.

Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/barrier.h