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

From: Vinay K Nallamothu
Date: Sat Aug 23 2003 - 09:09:51 EST


--- 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).



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/