]> err.no Git - linux-2.6/commit
lockdep: lock_set_subclass - reset a held lock's subclass
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Mon, 11 Aug 2008 07:30:21 +0000 (09:30 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 11 Aug 2008 07:30:21 +0000 (09:30 +0200)
commit64aa348edc617dea17bbd01ddee4e47886d5ec8c
tree002b5fa796aff225d0cb9d0c32bb3ba96da6eaaf
parent5e710e37bde120bb069f691bee68e69ef4393173
lockdep: lock_set_subclass - reset a held lock's subclass

this can be used to reset a held lock's subclass, for arbitrary-depth
iterated data structures such as trees or lists which have per-node
locks.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/lockdep.h
kernel/lockdep.c