lkml.org 
[lkml]   [2006]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] fix rwlock usage example
Date
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);
...
}
\
 
 \ /
  Last update: 2006-01-16 02:37    [W:0.023 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site