2012-06-17 19:52:06 +00:00
|
|
|
From f49406b46d12ca5f132fb056e0179f4a98fc1a35 Mon Sep 17 00:00:00 2001
|
2011-11-20 00:01:55 +00:00
|
|
|
From: Thomas Gleixner <tglx@linutronix.de>
|
|
|
|
Date: Fri, 3 Jul 2009 08:44:30 -0500
|
2012-06-17 19:52:06 +00:00
|
|
|
Subject: [111/254] timers: mov printk_tick to soft interrupt
|
2011-11-20 00:01:55 +00:00
|
|
|
|
|
|
|
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
|
|
|
|
Signed-off-by: Ingo Molnar <mingo@elte.hu>
|
|
|
|
---
|
|
|
|
kernel/timer.c | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
2012-06-17 19:52:06 +00:00
|
|
|
diff --git a/kernel/timer.c b/kernel/timer.c
|
|
|
|
index 7ba0602..e069d9f 100644
|
|
|
|
--- a/kernel/timer.c
|
|
|
|
+++ b/kernel/timer.c
|
2012-06-04 21:20:09 +00:00
|
|
|
@@ -1386,7 +1386,6 @@ void update_process_times(int user_tick)
|
2011-11-20 00:01:55 +00:00
|
|
|
account_process_tick(p, user_tick);
|
|
|
|
run_local_timers();
|
|
|
|
rcu_check_callbacks(cpu, user_tick);
|
|
|
|
- printk_tick();
|
|
|
|
#ifdef CONFIG_IRQ_WORK
|
|
|
|
if (in_irq())
|
|
|
|
irq_work_run();
|
2012-06-17 19:52:06 +00:00
|
|
|
@@ -1402,6 +1401,7 @@ static void run_timer_softirq(struct softirq_action *h)
|
2011-11-20 00:01:55 +00:00
|
|
|
{
|
|
|
|
struct tvec_base *base = __this_cpu_read(tvec_bases);
|
|
|
|
|
|
|
|
+ printk_tick();
|
|
|
|
hrtimer_run_pending();
|
|
|
|
|
|
|
|
if (time_after_eq(jiffies, base->timer_jiffies))
|