diff options
Diffstat (limited to 'kernel/timer.c')
| -rw-r--r-- | kernel/timer.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/kernel/timer.c b/kernel/timer.c index 1f986c16d8..51ff917c95 100644 --- a/kernel/timer.c +++ b/kernel/timer.c | |||
| @@ -489,10 +489,14 @@ static inline void __run_timers(tvec_base_t *base) | |||
| 489 | detach_timer(timer, 1); | 489 | detach_timer(timer, 1); |
| 490 | spin_unlock_irq(&base->t_base.lock); | 490 | spin_unlock_irq(&base->t_base.lock); |
| 491 | { | 491 | { |
| 492 | u32 preempt_count = preempt_count(); | 492 | int preempt_count = preempt_count(); |
| 493 | fn(data); | 493 | fn(data); |
| 494 | if (preempt_count != preempt_count()) { | 494 | if (preempt_count != preempt_count()) { |
| 495 | printk("huh, entered %p with %08x, exited with %08x?\n", fn, preempt_count, preempt_count()); | 495 | printk(KERN_WARNING "huh, entered %p " |
| 496 | "with preempt_count %08x, exited" | ||
| 497 | " with %08x?\n", | ||
| 498 | fn, preempt_count, | ||
| 499 | preempt_count()); | ||
| 496 | BUG(); | 500 | BUG(); |
| 497 | } | 501 | } |
| 498 | } | 502 | } |
