projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f97b12c
)
alpha: Replace deprecated spinlock initialization
author
Thomas Gleixner
<tglx@linutronix.de>
Sun, 23 Jan 2011 14:10:51 +0000
(15:10 +0100)
committer
Thomas Gleixner
<tglx@linutronix.de>
Thu, 27 Jan 2011 11:30:36 +0000
(12:30 +0100)
SPIN_LOCK_UNLOCK is deprecated. Use the lockdep capable variant
instead.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Matt Turner <mattst88@gmail.com>
arch/alpha/include/asm/rwsem.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/alpha/include/asm/rwsem.h
b/arch/alpha/include/asm/rwsem.h
index 1570c0b5433649e4bafeb6601bfa77aeee8d6a44..19c9cc7ed94b610e5b2022b0f60f3ecfe37971f6 100644
(file)
--- a/
arch/alpha/include/asm/rwsem.h
+++ b/
arch/alpha/include/asm/rwsem.h
@@
-39,7
+39,7
@@
struct rw_semaphore {
};
#define __RWSEM_INITIALIZER(name) \
- { RWSEM_UNLOCKED_VALUE,
SPIN_LOCK_UNLOCKED
, \
+ { RWSEM_UNLOCKED_VALUE,
__SPIN_LOCK_UNLOCKED((name).wait_lock)
, \
LIST_HEAD_INIT((name).wait_list) }
#define DECLARE_RWSEM(name) \
This page took
0.024676 seconds
and
5
git commands to generate.