Explorar o código

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>
Lucas Correia Villa Real %!s(int64=20) %!d(string=hai) anos
pai
achega
7ad4a5d568
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Documentation/spinlocks.txt

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