diff options
| author | Andrew Morton <akpm@osdl.org> | 2003-08-31 04:27:51 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2003-08-31 04:27:51 -0700 |
| commit | d6f459bc366e1040437429e84db517794fbbe0ad (patch) | |
| tree | 2dc92b165818198945fe9fd78536b882e025affa /Documentation/DocBook | |
| parent | 464319bfdf990e4a8defb26ffd0d946c746ea759 (diff) | |
[PATCH] spin_lock_irqrestore() typo fixes
From: Vinay K Nallamothu <vinay-rc@naturesoft.net>
s/spin_lock_irqrestore/spin_unlock_irqrestore/
Diffstat (limited to 'Documentation/DocBook')
| -rw-r--r-- | Documentation/DocBook/kernel-locking.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/DocBook/kernel-locking.tmpl b/Documentation/DocBook/kernel-locking.tmpl index 0484e5b4e1fb..f31032d0b43d 100644 --- a/Documentation/DocBook/kernel-locking.tmpl +++ b/Documentation/DocBook/kernel-locking.tmpl @@ -463,7 +463,7 @@ <function>spin_lock_irqsave()</function> (<filename>include/linux/spinlock.h</filename>) is a variant which saves whether interrupts were on or off in a flags word, - which is passed to <function>spin_lock_irqrestore()</function>. This + which is passed to <function>spin_unlock_irqrestore()</function>. This means that the same code can be used inside an hard irq handler (where interrupts are already off) and in softirqs (where the irq disabling is required). |
