Skip to content

Commit

Permalink
docs: Fix the reference labels in Locking.rst
Browse files Browse the repository at this point in the history
Two jump tags were misspelled, leading to non-working cross-reference
links.

Reported-by: Federico Vaga <[email protected]>
Signed-off-by: Jonathan Corbet <[email protected]>
  • Loading branch information
Jonathan Corbet committed Jul 26, 2018
1 parent 1fee4f7 commit c8cce10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Documentation/kernel-hacking/locking.rst
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ perfect world).

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

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

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

Expand Down

0 comments on commit c8cce10

Please sign in to comment.