Skip to content

Commit

Permalink
fix rwlock usage example
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
  • Loading branch information
Lucas Correia Villa Real authored and Adrian Bunk committed Mar 21, 2006
1 parent 4de151d commit 7ad4a5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/spinlocks.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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);
...
}

Expand Down

0 comments on commit 7ad4a5d

Please sign in to comment.