Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 115204
b: refs/heads/master
c: 8e85b4b
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Gleixner authored and Ingo Molnar committed Oct 2, 2008
1 parent cd26328 commit f6dbcd6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 978b0116cd225682a29e3d1d5010319bf2de32c2
refs/heads/master: 8e85b4b553fc932e1c5141feb5fda389b7f5db01
11 changes: 11 additions & 0 deletions trunk/kernel/softirq.c
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,18 @@ asmlinkage void __do_softirq(void)

do {
if (pending & 1) {
int prev_count = preempt_count();

h->action(h);

if (unlikely(prev_count != preempt_count())) {
printk(KERN_ERR "huh, entered sotfirq %ld %p"
"with preempt_count %08x,"
" exited with %08x?\n", h - softirq_vec,
h->action, prev_count, preempt_count());
preempt_count() = prev_count;
}

rcu_bh_qsctr_inc(cpu);
}
h++;
Expand Down

0 comments on commit f6dbcd6

Please sign in to comment.