Messages in this thread Patch in this message | | | From | Lucas Correia Villa Real <> | Subject | [PATCH] fix rwlock usage example | Date | Sun, 15 Jan 2006 23:34:25 -0200 |
| |
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@gobolinux.org>
-- 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); ... } | |