diff options
Diffstat (limited to 'arch/alpha/include/asm/rwsem.h')
-rw-r--r-- | arch/alpha/include/asm/rwsem.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/alpha/include/asm/rwsem.h b/arch/alpha/include/asm/rwsem.h index 1570c0b54336..19c9cc7ed94b 100644 --- a/arch/alpha/include/asm/rwsem.h +++ b/arch/alpha/include/asm/rwsem.h | |||
@@ -39,7 +39,7 @@ struct rw_semaphore { | |||
39 | }; | 39 | }; |
40 | 40 | ||
41 | #define __RWSEM_INITIALIZER(name) \ | 41 | #define __RWSEM_INITIALIZER(name) \ |
42 | { RWSEM_UNLOCKED_VALUE, SPIN_LOCK_UNLOCKED, \ | 42 | { RWSEM_UNLOCKED_VALUE, __SPIN_LOCK_UNLOCKED((name).wait_lock), \ |
43 | LIST_HEAD_INIT((name).wait_list) } | 43 | LIST_HEAD_INIT((name).wait_list) } |
44 | 44 | ||
45 | #define DECLARE_RWSEM(name) \ | 45 | #define DECLARE_RWSEM(name) \ |