Skip to content

Commit c8cce10

Browse files
author
Jonathan Corbet
committed
docs: Fix the reference labels in Locking.rst
Two jump tags were misspelled, leading to non-working cross-reference links. Reported-by: Federico Vaga <federico.vaga@vaga.pv.it> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
1 parent 1fee4f7 commit c8cce10

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Documentation/kernel-hacking/locking.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ perfect world).
177177

178178
Note that you can also use :c:func:`spin_lock_irq()` or
179179
:c:func:`spin_lock_irqsave()` here, which stop hardware interrupts
180-
as well: see `Hard IRQ Context <#hardirq-context>`__.
180+
as well: see `Hard IRQ Context <#hard-irq-context>`__.
181181

182182
This works perfectly for UP as well: the spin lock vanishes, and this
183183
macro simply becomes :c:func:`local_bh_disable()`
@@ -228,7 +228,7 @@ The Same Softirq
228228
~~~~~~~~~~~~~~~~
229229

230230
The same softirq can run on the other CPUs: you can use a per-CPU array
231-
(see `Per-CPU Data <#per-cpu>`__) for better performance. If you're
231+
(see `Per-CPU Data <#per-cpu-data>`__) for better performance. If you're
232232
going so far as to use a softirq, you probably care about scalable
233233
performance enough to justify the extra complexity.
234234

0 commit comments

Comments
 (0)