summaryrefslogtreecommitdiff
path: root/Documentation/driver-api
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2023-05-02 18:09:56 -0700
committerPaul E. McKenney <paulmck@kernel.org>2023-05-11 15:22:46 -0700
commit87c2c68b34c9084975f61e25ff330c9d90502e3c (patch)
tree3345bdf60b0c4ab4f16de088fd25e26470cf96f4 /Documentation/driver-api
parentb8e2857e7c3446d99ea9edca46177fe16d5cb4cb (diff)
downloadlinux-next-87c2c68b34c9084975f61e25ff330c9d90502e3c.tar.gz
docs: Add atomic operations to the driver basic API documentation
Add the include/linux/atomic/atomic-arch-fallback.h file to the driver-api/basics.rst in order to provide documentation for the Linux kernel's atomic operations. Signed-off-by: Paul E. McKenney <paulmck@kernel.org> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Kees Cook <keescook@chromium.org> Cc: Akira Yokosawa <akiyks@gmail.com> Cc: Will Deacon <will@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Boqun Feng <boqun.feng@gmail.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: <linux-doc@vger.kernel.org>
Diffstat (limited to 'Documentation/driver-api')
-rw-r--r--Documentation/driver-api/basics.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/driver-api/basics.rst b/Documentation/driver-api/basics.rst
index 4b4d8e28d3be..0ae07f0d8601 100644
--- a/Documentation/driver-api/basics.rst
+++ b/Documentation/driver-api/basics.rst
@@ -87,6 +87,9 @@ Atomics
.. kernel-doc:: arch/x86/include/asm/atomic.h
:internal:
+.. kernel-doc:: include/linux/atomic/atomic-arch-fallback.h
+ :internal:
+
Kernel objects manipulation
---------------------------