diff options
author | Lucas Correia Villa Real <lucasvr@gobolinux.org> | 2006-03-22 00:19:39 +0100 |
---|---|---|
committer | Adrian Bunk <bunk@r063144.stusta.swh.mhn.de> | 2006-03-22 00:19:39 +0100 |
commit | 7ad4a5d56874b37ad24d89aae2f8d192ba7b1521 (patch) | |
tree | 05d5a91190b22d074e28006a798e1dee1a761f22 /Documentation/spinlocks.txt | |
parent | 4de151d8cd2553e7e89044ab5d72fcad4eb04afb (diff) | |
download | op-kernel-dev-7ad4a5d56874b37ad24d89aae2f8d192ba7b1521.zip op-kernel-dev-7ad4a5d56874b37ad24d89aae2f8d192ba7b1521.tar.gz |
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 <lucasvr@gobolinux.org>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'Documentation/spinlocks.txt')
-rw-r--r-- | Documentation/spinlocks.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/spinlocks.txt b/Documentation/spinlocks.txt index c212299..a661d68 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); ... } |