diff options
author | Oleg Nesterov <[email protected]> | 2014-01-20 19:20:13 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2014-02-09 21:18:59 +0100 |
commit | 34d0ed5ea7a72d5961552fb1758a94f0d3f8f3dc (patch) | |
tree | 71bb8a7c24ce1cd76a99586f119fba3f955f4c1e /include/linux/fpga/fpga-mgr.h | |
parent | 1b5ff816cab708ba44c7d7b56b613516269eb577 (diff) |
lockdep: Change mark_held_locks() to check hlock->check instead of lockdep_no_validate
The __lockdep_no_validate check in mark_held_locks() adds the subtle
and (afaics) unnecessary difference between no-validate and check==0.
And this looks even more inconsistent because __lock_acquire() skips
mark_irqflags()->mark_lock() if !check.
Change mark_held_locks() to check hlock->check instead.
Signed-off-by: Oleg Nesterov <[email protected]>
Cc: Dave Jones <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Paul McKenney <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Alan Stern <[email protected]>
Cc: Sasha Levin <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions