]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
docs: housekeeping: Fix struct member access in code example
authorCosta Shulyupin <costa.shul@redhat.com>
Fri, 1 May 2026 04:38:46 +0000 (07:38 +0300)
committerJonathan Corbet <corbet@lwn.net>
Fri, 15 May 2026 14:25:16 +0000 (08:25 -0600)
No such array housekeeping_cpumasks

Fix to housekeeping.cpumasks.

Signed-off-by: Costa Shulyupin <costa.shul@redhat.com>
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260501043855.980567-1-costa.shul@redhat.com>

Documentation/core-api/housekeeping.rst

index 92c6e53cea7551bed30ed296cf6bfe19a7a48cd0..ccb0a88b9cb365332a2e0f7ec8c4c21914c1346a 100644 (file)
@@ -99,7 +99,7 @@ the same RCU read side critical section.
 A typical layout example would look like this on the update side
 (``housekeeping_update()``)::
 
-       rcu_assign_pointer(housekeeping_cpumasks[type], trial);
+       rcu_assign_pointer(housekeeping.cpumasks[type], trial);
        synchronize_rcu();
        flush_workqueue(example_workqueue);