Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 123173
b: refs/heads/master
c: 7317d7b
h: refs/heads/master
i:
  123171: 7f74772
v: v3
  • Loading branch information
Nick Piggin authored and Ingo Molnar committed Sep 30, 2008
1 parent cb502c3 commit b949e77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6918bc5c830e890681eabb3c6cb6b8d117a52d14
refs/heads/master: 7317d7b87edb41a9135e30be1ec3f7ef817c53dd
2 changes: 1 addition & 1 deletion trunk/kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -4305,7 +4305,7 @@ void __kprobes sub_preempt_count(int val)
/*
* Underflow?
*/
if (DEBUG_LOCKS_WARN_ON(val > preempt_count()))
if (DEBUG_LOCKS_WARN_ON(val > preempt_count() - (!!kernel_locked())))
return;
/*
* Is the spinlock portion underflowing?
Expand Down

0 comments on commit b949e77

Please sign in to comment.