Messages in this thread | | | From | Mark Rutland <> | Subject | [PATCH 0/2] tools/memory-model: remove ACCESS_ONCE() | Date | Thu, 28 Jun 2018 13:33:45 +0100 |
| |
Since commit:
b899a850431e2dd0 ("compiler.h: Remove ACCESS_ONCE()")
... there has been no definition of ACCESS_ONCE() in the kernel tree, and it has been necessary to use READ_ONCE() or WRITE_ONCE() instead.
However, since then the kernel memory model was added to the Linux tree, sporting new instances of ACCESS_ONCE() in examples and in the memory model itself.
These patches remove the new instances of ACCESS_ONCE() for consistency with the contemporary codebase.
Thanks, Mark.
Mark Rutland (2): tools/memory-model: remove ACCESS_ONCE() from recipes tools/memory-model: remove ACCESS_ONCE() from model
tools/memory-model/Documentation/recipes.txt | 4 ++-- tools/memory-model/linux-kernel.bell | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
-- 2.11.0
| |