commit | e506ea451254ab17e0bf918ca36232fec2a9b10c | [log] [tgz] |
---|---|---|
author | Will Deacon <will@kernel.org> | Tue Oct 15 16:29:32 2019 -0700 |
committer | Will Deacon <will@kernel.org> | Tue Jul 21 10:50:35 2020 +0100 |
tree | 3ed1c29d46b626eb36ffd8f055e0b74c864e31ab | |
parent | f143c11bb7b924403ea2d5b5c990717772293620 [diff] |
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>