aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/include/asm/vdso
diff options
context:
space:
mode:
authorWill Deacon2020-07-10 14:49:40 +0100
committerWill Deacon2020-07-21 10:50:36 +0100
commit002dff36acfba3476b685a09f78ffb7c452f5951 (patch)
tree7d09b29aed61f6f3ff760a1c6a6767270f0489df /arch/riscv/include/asm/vdso
parent3c9184109e78ea2371ca8fa66d7f36986a53af98 (diff)
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>
Diffstat (limited to 'arch/riscv/include/asm/vdso')
-rw-r--r--arch/riscv/include/asm/vdso/gettimeofday.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/include/asm/vdso/gettimeofday.h b/arch/riscv/include/asm/vdso/gettimeofday.h
index c8e818688ec1..3099362d9f26 100644
--- a/arch/riscv/include/asm/vdso/gettimeofday.h
+++ b/arch/riscv/include/asm/vdso/gettimeofday.h
@@ -4,6 +4,7 @@
#ifndef __ASSEMBLY__
+#include <asm/barrier.h>
#include <asm/unistd.h>
#include <asm/csr.h>
#include <uapi/linux/time.h>