OSDN Git Service

Documentation/locking/locktypes: fix local_locks documentation
authorMarta Rybczynska <rybczynska@gmail.com>
Sun, 26 Jul 2020 18:54:40 +0000 (20:54 +0200)
committerJonathan Corbet <corbet@lwn.net>
Mon, 24 Aug 2020 23:18:51 +0000 (17:18 -0600)
commit94dea151bf3651c01acb12a38ca75ba9d26ea4da
treed07cb4ec102e3696fb1634ef529de5b85c5952fc
parent9123e3a74ec7b934a4a099e98af6a61c2f80bbf5
Documentation/locking/locktypes: fix local_locks documentation

Fix issues with local_locks documentation:
- fix function names, local_lock.h has local_unlock_irqrestore(),
not local_lock_irqrestore()
- fix mapping table, local_unlock_irqrestore() maps to local_irq_restore(),
not _save()

Signed-off-by: Marta Rybczynska <rybczynska@gmail.com>
Acked-by: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/CAApg2=SKxQ3Sqwj6TZnV-0x0cKLXFKDaPvXT4N15MPDMKq724g@mail.gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/locking/locktypes.rst