提交 7ad4a5d5 编写于 作者: L Lucas Correia Villa Real 提交者: Adrian Bunk

fix rwlock usage example

This is a trivial patch which fixes a typo on rwlock usage under
Documentation/spinlocks.txt.
Signed-Off-By: NLucas Correia Villa Real <lucasvr@gobolinux.org>
Signed-off-by: NAdrian Bunk <bunk@stusta.de>
上级 4de151d8
......@@ -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);
...
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册