diff options
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 c2122996631e..a661d684768e 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: | |||
9 | static int __init xxx_init(void) | 9 | static int __init xxx_init(void) |
10 | { | 10 | { |
11 | spin_lock_init(&xxx_lock); | 11 | spin_lock_init(&xxx_lock); |
12 | rw_lock_init(&xxx_rw_lock); | 12 | rwlock_init(&xxx_rw_lock); |
13 | ... | 13 | ... |
14 | } | 14 | } |
15 | 15 | ||