aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-11-09 10:55:36 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-11-09 10:55:36 +0900
commit76d2318020bf0c0c497af986a25977196715a1b9 (patch)
tree25df17084b76eba7420c3fe9e6690ea5270e7dfd /arch/sh/include
parentsh: oprofile: Fix up count size mismatch for common impl. (diff)
parentsh: Replace old style lock initializer (diff)
downloadlinux-dev-76d2318020bf0c0c497af986a25977196715a1b9.tar.xz
linux-dev-76d2318020bf0c0c497af986a25977196715a1b9.zip
Merge branch 'sh/stable-updates'
Diffstat (limited to 'arch/sh/include')
-rw-r--r--arch/sh/include/asm/rwsem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/include/asm/rwsem.h b/arch/sh/include/asm/rwsem.h
index 1987f3ea7f1b..06e2251a5e48 100644
--- 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) }