[PATCH] fix rwlock usage example
From: Lucas Correia Villa Real
Date: Sun Jan 15 2006 - 20:34:13 EST
Hi there,
This is a trivial patch which fixes a typo on rwlock usage under
Documentation/spinlocks.txt.
Signed-Off-By: Lucas Correia Villa Real <lucasvr@xxxxxxxxxxxxx>
--
Lucas
powered by /dev/dsp
--- linux-2.6.15-git11/Documentation/spinlocks.txt 2006-01-03 01:21:10.000000000 -0200
+++ linux-2.6.15-git11-lucasvr/Documentation/spinlocks.txt 2006-01-15 23:09:28.000000000 -0200
@@ -9,7 +9,7 @@ removed soon. So for any new code dynami
static int __init xxx_init(void)
{
spin_lock_init(&xxx_lock);
- rw_lock_init(&xxx_rw_lock);
+ rwlock_init(&xxx_rw_lock);
...
}