Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 190985
b: refs/heads/master
c: 8795d77
h: refs/heads/master
i:
  190983: 2724387
v: v3
  • Loading branch information
Frederic Weisbecker committed Apr 30, 2010
1 parent 11b322d commit 6c1885a
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 868c522b1b75fd3fd3e6a636b4c344ac08edf13a
refs/heads/master: 8795d7717c467bea7b0a0649d44a258e09f34db2
7 changes: 6 additions & 1 deletion trunk/kernel/lockdep.c
Original file line number Diff line number Diff line change
Expand Up @@ -2298,7 +2298,12 @@ void trace_hardirqs_on_caller(unsigned long ip)
return;

if (unlikely(curr->hardirqs_enabled)) {
debug_atomic_inc(redundant_hardirqs_on);
/*
* Neither irq nor preemption are disabled here
* so this is racy by nature but loosing one hit
* in a stat is not a big deal.
*/
this_cpu_inc(lockdep_stats.redundant_hardirqs_on);
return;
}
/* we'll do an OFF -> ON transition: */
Expand Down

0 comments on commit 6c1885a

Please sign in to comment.