aboutsummaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorJosh Triplett <josht@us.ibm.com>2006-09-29 05:00:59 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-29 12:18:19 -0400
commit9f50b93f066f8dc339de9b0eb78a22a75e6c8f8f (patch)
tree9977ea31409d3ac73b9b47b9d0c5d3f0c7cbea87 /ipc
parent92e9a8507ba81ff9e25bd9c5030ff8586269eefb (diff)
[PATCH] Make spinlock/rwlock annotations more accurate by using parameters, not types
The lock annotations used on spinlocks and rwlocks currently use __{acquires,releases}(spinlock_t) and __{acquires,releases}(rwlock_t), respectively. This loses the information of which lock actually got acquired or released, and assumes a different type for the parameter of __acquires and __releases than the rest of the kernel. While the current implementations of __acquires and __releases throw away their argument, this will not always remain the case. Change this to use the lock parameter instead, to preserve this information and increase consistency in usage of __acquires and __releases. Signed-off-by: Josh Triplett <josh@freedesktop.org> Cc: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions