mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
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>
This commit is contained in:
parent
4de151d8cd
commit
7ad4a5d568
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
...
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue