aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-generic/Kbuild
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2019-10-15 16:29:32 -0700
committerWill Deacon <will@kernel.org>2020-07-21 10:50:35 +0100
commite506ea451254ab17e0bf918ca36232fec2a9b10c (patch)
tree3ed1c29d46b626eb36ffd8f055e0b74c864e31ab /include/asm-generic/Kbuild
parenttools: bpf: Use local copy of headers including uapi/linux/filter.h (diff)
downloadlinux-dev-e506ea451254ab17e0bf918ca36232fec2a9b10c.tar.xz
linux-dev-e506ea451254ab17e0bf918ca36232fec2a9b10c.zip
compiler.h: Split {READ,WRITE}_ONCE definitions out into rwonce.h
In preparation for allowing architectures to define their own implementation of the READ_ONCE() macro, move the generic {READ,WRITE}_ONCE() definitions out of the unwieldy 'linux/compiler.h' file and into a new 'rwonce.h' header under 'asm-generic'. Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Paul E. McKenney <paulmck@kernel.org> Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'include/asm-generic/Kbuild')
-rw-r--r--include/asm-generic/Kbuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-generic/Kbuild b/include/asm-generic/Kbuild
index 44ec80e70518..74b0612601dd 100644
--- a/include/asm-generic/Kbuild
+++ b/include/asm-generic/Kbuild
@@ -45,6 +45,7 @@ mandatory-y += pci.h
mandatory-y += percpu.h
mandatory-y += pgalloc.h
mandatory-y += preempt.h
+mandatory-y += rwonce.h
mandatory-y += sections.h
mandatory-y += serial.h
mandatory-y += shmparam.h