aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc/sched.h
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2006-12-06 23:37:22 -0500
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-07 11:39:36 -0500
commit6cfd76a26d9fe2ba54b9d496a48c1d9285e5c5ed (patch)
tree1114a0630c5045d0650c6d78a8097fdea6f94d8e /include/linux/sunrpc/sched.h
parenta4c410f00f7ca4bd448b0d63f6f882fd244dc991 (diff)
[PATCH] lockdep: name some old style locks
Name some of the remaning 'old_style_spin_init' locks Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Acked-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/sunrpc/sched.h')
-rw-r--r--include/linux/sunrpc/sched.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/sunrpc/sched.h b/include/linux/sunrpc/sched.h
index f399c138f79d..0746c3b16f3a 100644
--- a/include/linux/sunrpc/sched.h
+++ b/include/linux/sunrpc/sched.h
@@ -222,7 +222,7 @@ struct rpc_wait_queue {
222 222
223#ifndef RPC_DEBUG 223#ifndef RPC_DEBUG
224# define RPC_WAITQ_INIT(var,qname) { \ 224# define RPC_WAITQ_INIT(var,qname) { \
225 .lock = SPIN_LOCK_UNLOCKED, \ 225 .lock = __SPIN_LOCK_UNLOCKED(var.lock), \
226 .tasks = { \ 226 .tasks = { \
227 [0] = LIST_HEAD_INIT(var.tasks[0]), \ 227 [0] = LIST_HEAD_INIT(var.tasks[0]), \
228 [1] = LIST_HEAD_INIT(var.tasks[1]), \ 228 [1] = LIST_HEAD_INIT(var.tasks[1]), \
@@ -231,7 +231,7 @@ struct rpc_wait_queue {
231 } 231 }
232#else 232#else
233# define RPC_WAITQ_INIT(var,qname) { \ 233# define RPC_WAITQ_INIT(var,qname) { \
234 .lock = SPIN_LOCK_UNLOCKED, \ 234 .lock = __SPIN_LOCK_UNLOCKED(var.lock), \
235 .tasks = { \ 235 .tasks = { \
236 [0] = LIST_HEAD_INIT(var.tasks[0]), \ 236 [0] = LIST_HEAD_INIT(var.tasks[0]), \
237 [1] = LIST_HEAD_INIT(var.tasks[1]), \ 237 [1] = LIST_HEAD_INIT(var.tasks[1]), \