projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/arch/sh/include/asm/rwsem.h
b/arch/sh/include/asm/rwsem.h
index 1987f3ea7f1b1422d8ae5ad02003d6f6c29a770a..06e2251a5e483ebfd57594f55a02cbe69bfd1b59 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) }