diff options
author | 2008-08-11 09:30:24 +0200 | |
---|---|---|
committer | 2008-08-11 09:30:24 +0200 | |
commit | b7d39aff91454f2534db2275f55908656ec0470c (patch) | |
tree | 24481f2fe7206ef69800a33df6ac3e1716085326 /include/linux/kernel.h | |
parent | lockdep: lock protection locks (diff) | |
download | wireguard-linux-b7d39aff91454f2534db2275f55908656ec0470c.tar.xz wireguard-linux-b7d39aff91454f2534db2275f55908656ec0470c.zip |
lockdep: spin_lock_nest_lock()
Expose the new lock protection lock.
This can be used to annotate places where we take multiple locks of the
same class and avoid deadlocks by always taking another (top-level) lock
first.
NOTE: we're still bound to the MAX_LOCK_DEPTH (48) limit.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions