Skip to content
Snippets Groups Projects
Commit 01e46442 authored by Mark Rutland's avatar Mark Rutland Committed by Jonathan Corbet
Browse files

Documentation: circular-buffers: use READ_ONCE()


While the {READ,WRITE}_ONCE() macros should be used in preference to
ACCESS_ONCE(), the circular buffer 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
READ_ONCE(), as ACCESS_ONCE() is only used in a reader context in the
circular buffer documentation.

Signed-off-by: default avatarMark Rutland <mark.rutland@arm.com>
Acked-by: default avatarDavid Howells <dhowells@redhat.com>
Acked-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 47f42122
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment