fix rwlock usage example
PATCH 1/1 fix rwlock usage example
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 <[email protected]>
Signature · 2 lines
Lucas powered by /dev/dsp
Documentation/spinlocks.txt +1 -1
@@ -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); ... }