From: Lucas Correia Villa Real Date: Tue, 21 Mar 2006 23:19:39 +0000 (+0100) Subject: fix rwlock usage example X-Git-Tag: v2.6.17-rc1~1129^2~1^2~7 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=7ad4a5d56874b37ad24d89aae2f8d192ba7b1521;p=linux-2.6-omap-h63xx.git fix rwlock usage example This is a trivial patch which fixes a typo on rwlock usage under Documentation/spinlocks.txt. Signed-Off-By: Lucas Correia Villa Real Signed-off-by: Adrian Bunk --- diff --git a/Documentation/spinlocks.txt b/Documentation/spinlocks.txt index c2122996631..a661d684768 100644 --- a/Documentation/spinlocks.txt +++ b/Documentation/spinlocks.txt @@ -9,7 +9,7 @@ removed soon. So for any new code dynamic initialization should be used: static int __init xxx_init(void) { spin_lock_init(&xxx_lock); - rw_lock_init(&xxx_rw_lock); + rwlock_init(&xxx_rw_lock); ... }