projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9d244a
)
sh: Replace old style lock initializer
author
Thomas Gleixner
<tglx@linutronix.de>
Fri, 6 Nov 2009 22:42:05 +0000
(22:42 +0000)
committer
Paul Mundt
<lethal@linux-sh.org>
Mon, 9 Nov 2009 01:47:40 +0000
(10:47 +0900)
SPIN_LOCK_UNLOCKED is deprecated. Use __SPIN_LOCK_UNLOCKED instead.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-sh@vger.kernel.org
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/rwsem.h
patch
|
blob
|
history
diff --git
a/arch/sh/include/asm/rwsem.h
b/arch/sh/include/asm/rwsem.h
index
1987f3e
..
06e2251
100644
(file)
--- a/
arch/sh/include/asm/rwsem.h
+++ b/
arch/sh/include/asm/rwsem.h
@@
-41,7
+41,7
@@
struct rw_semaphore {
#endif
#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) \
__RWSEM_DEP_MAP_INIT(name) }