]> err.no Git - linux-2.6/commit
[PATCH] Pass a lock expression to __cond_lock, like __acquire and __release
authorJosh Triplett <josht@us.ibm.com>
Fri, 29 Sep 2006 09:01:03 +0000 (02:01 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 29 Sep 2006 16:18:20 +0000 (09:18 -0700)
commitdcc8e559ee5ae03fa6bdb8611d76d86d0083e793
tree8847aba4ed68074ec9ab0ef28ee2cdd7937f51d9
parent7d2c502f141042f6e5d145aa40107685d751e5a3
[PATCH] Pass a lock expression to __cond_lock, like __acquire and __release

Currently, __acquire and __release take a lock expression, but __cond_lock
takes only a condition, not the lock acquired if the expression evaluates
to true.  Change __cond_lock to accept a lock expression, and change all
the callers to pass in a lock expression.

Signed-off-by: Josh Triplett <josh@freedesktop.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/compiler.h
include/linux/spinlock.h