diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-22 16:43:21 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-22 16:43:21 -0700 |
commit | 75b56ec294b074d70f8a676ab02611a3fea76cab (patch) | |
tree | d5299adb43ac6fc8dcc50c3e438c7f0cdd452b1c /kernel/lockdep.c | |
parent | 6d16d6d9bb6f93e6f8506cfb3e91795d6443d54f (diff) | |
parent | efbe2eee6dc0f179be84292bf269528b3ec365e9 (diff) | |
download | op-kernel-dev-75b56ec294b074d70f8a676ab02611a3fea76cab.zip op-kernel-dev-75b56ec294b074d70f8a676ab02611a3fea76cab.tar.gz |
Merge branch 'core-locking-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'core-locking-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
lockdep: Fix lockdep_no_validate against IRQ states
mutex: Make mutex_destroy() an inline function
plist: Remove the need to supply locks to plist heads
lockup detector: Fix reference to the non-existent CONFIG_DETECT_SOFTLOCKUP option
Diffstat (limited to 'kernel/lockdep.c')
-rw-r--r-- | kernel/lockdep.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/lockdep.c b/kernel/lockdep.c index 298c927..628276d 100644 --- a/kernel/lockdep.c +++ b/kernel/lockdep.c @@ -2468,6 +2468,9 @@ mark_held_locks(struct task_struct *curr, enum mark_type mark) BUG_ON(usage_bit >= LOCK_USAGE_STATES); + if (hlock_class(hlock)->key == &__lockdep_no_validate__) + continue; + if (!mark_lock(curr, hlock, usage_bit)) return 0; } |