2003-08-23 14:03:50

by Vinay K Nallamothu

[permalink] [raw]
Subject: [2.6.0-test4][TRIVIAL][DOC] kernel-locking.tmpl: typo fix: spin_lock_restore

--- linux-2.6.0-test4/Documentation/DocBook/kernel-locking.tmpl 2003-07-15 17:23:34.000000000 +0530
+++ linux-2.6.0-test4-nvk/Documentation/DocBook/kernel-locking.tmpl 2003-08-23 19:38:42.000000000 +0530
@@ -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).