diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2023-06-05 08:01:23 +0100 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2023-06-05 09:57:24 +0200 |
commit | e74f4059d11f36e936b08e98bc96f654c308807a (patch) | |
tree | 9f0d3fbbc84b3de048f7c3a7ba29468d238dd00c /fs/file.c | |
parent | ad8110706f381170c9f9975f1cb06010fd3ca381 (diff) | |
download | linux-stable-e74f4059d11f36e936b08e98bc96f654c308807a.tar.gz linux-stable-e74f4059d11f36e936b08e98bc96f654c308807a.tar.bz2 linux-stable-e74f4059d11f36e936b08e98bc96f654c308807a.zip |
locking/atomic: docs: Add atomic operations to the driver basic API documentation
Add the generated atomic headers to driver-api/basics.rst in order to
provide documentation for the Linux kernel's atomic operations.
At the same time, dtop the x86 atomic header, which provides kerneldoc
comments for some arch_atomic*_*() operations. The arch_atomic*_*()
operations are now purely an implenentation detail of the
raw_atomic*_*() ops, and outside of implementing the atomics, code
should use the raw_atomic*_*() forms.
[Mark: add atomic-{instrumented,long}.h, update commit message]
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20230605070124.3741859-27-mark.rutland@arm.com
Diffstat (limited to 'fs/file.c')
0 files changed, 0 insertions, 0 deletions