asm/rwonce: Don't pull <asm/barrier.h> into 'asm-generic/rwonce.h'
authorWill Deacon <will@kernel.org>
Fri, 10 Jul 2020 13:49:40 +0000 (14:49 +0100)
committerWill Deacon <will@kernel.org>
Tue, 21 Jul 2020 09:50:36 +0000 (10:50 +0100)
commit002dff36acfba3476b685a09f78ffb7c452f5951
tree7d09b29aed61f6f3ff760a1c6a6767270f0489df
parent3c9184109e78ea2371ca8fa66d7f36986a53af98
asm/rwonce: Don't pull <asm/barrier.h> into 'asm-generic/rwonce.h'

Now that 'smp_read_barrier_depends()' has gone the way of the Norwegian
Blue, drop the inclusion of <asm/barrier.h> in 'asm-generic/rwonce.h'.

This requires fixups to some architecture vdso headers which were
previously relying on 'asm/barrier.h' coming in via 'linux/compiler.h'.

Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm/include/asm/vdso/gettimeofday.h
arch/arm64/include/asm/vdso/compat_gettimeofday.h
arch/arm64/include/asm/vdso/gettimeofday.h
arch/riscv/include/asm/vdso/gettimeofday.h
include/asm-generic/rwonce.h
include/linux/nospec.h