Skip to contentSkip to conversation

fix rwlock usage example

PATCH New Lucas Correia Villa Real 1 participant 1 message Jan 16, 2006 Documentation

lore
Share & tools
lore
#0 lore raw

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.

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);
 	...
    }