diff options
author | Mark Rutland <mark.rutland@arm.com> | 2016-11-16 11:13:59 +0000 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2016-11-16 16:17:03 -0700 |
commit | 47f421221029e8515b71e7e2379eba8406b7f458 (patch) | |
tree | 351e4b4b8d62075d957c79476e85ec4304c90ffe /drivers/scsi/scsi_debug.c | |
parent | 22917b992d3713157e759f23a5a090687d004331 (diff) |
Documentation: atomic_ops: use {READ,WRITE}_ONCE()
While the {READ,WRITE}_ONCE() macros should be used in preference to
ACCESS_ONCE(), the atomic documentation uses the latter exclusively.
To point people in the right direction, and as a step towards the
eventual removal of ACCESS_ONCE(), update the documentation to use the
{READ,WRITE}_ONCE() macros as appropriate.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Boqun Feng <boqun.feng@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Will Deacon <will.deacon@arm.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'drivers/scsi/scsi_debug.c')
0 files changed, 0 insertions, 0 deletions