diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2023-06-05 10:01:23 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2023-06-05 10:57:24 +0300 |
commit | e74f4059d11f36e936b08e98bc96f654c308807a (patch) | |
tree | 9f0d3fbbc84b3de048f7c3a7ba29468d238dd00c /arch/x86/include/asm/atomic.h | |
parent | ad8110706f381170c9f9975f1cb06010fd3ca381 (diff) | |
download | linux-e74f4059d11f36e936b08e98bc96f654c308807a.tar.xz |
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 'arch/x86/include/asm/atomic.h')
0 files changed, 0 insertions, 0 deletions