lkml.org 
[lkml]   [2018]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] tools/memory-model: remove ACCESS_ONCE()
Date
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

\
 
 \ /
  Last update: 2018-06-28 14:35    [W:0.426 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site