From 6c502df8b68b5237b53d1862a5e2b205c79ac91a Mon Sep 17 00:00:00 2001 From: Randy Dunlap Date: Thu, 25 Jun 2026 14:03:31 -0700 Subject: [PATCH] Docs: SMP: add an SMP docbook chapter Add SMP primitives to the core-api documentation. Signed-off-by: Randy Dunlap Acked-by: Thomas Gleixner Signed-off-by: Jonathan Corbet Message-ID: <20260625210331.1050915-1-rdunlap@infradead.org> --- Documentation/core-api/SMP.rst | 11 +++++++++++ Documentation/core-api/index.rst | 1 + 2 files changed, 12 insertions(+) create mode 100644 Documentation/core-api/SMP.rst diff --git a/Documentation/core-api/SMP.rst b/Documentation/core-api/SMP.rst new file mode 100644 index 000000000000..0265a9835f23 --- /dev/null +++ b/Documentation/core-api/SMP.rst @@ -0,0 +1,11 @@ +.. SPDX-License-Identifier: GPL-2.0+ + +============== +SMP primitives +============== + +.. kernel-doc:: include/linux/smp.h + :internal: + +.. kernel-doc:: kernel/smp.c + :export: diff --git a/Documentation/core-api/index.rst b/Documentation/core-api/index.rst index 13769d5c40bf..92f91c6a0d79 100644 --- a/Documentation/core-api/index.rst +++ b/Documentation/core-api/index.rst @@ -81,6 +81,7 @@ Documentation/locking/index.rst for more related documentation. padata ../RCU/index wrappers/memory-barriers.rst + SMP Low-level hardware management =============================