32 lines
975 B
Diff
32 lines
975 B
Diff
From be57df33818c14ac40de00d5b436451bdc3f9e1b Mon Sep 17 00:00:00 2001
|
|
From: Thomas Gleixner <tglx@linutronix.de>
|
|
Date: Fri, 3 Jul 2009 08:44:30 -0500
|
|
Subject: [111/256] timers: mov printk_tick to soft interrupt
|
|
|
|
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(-)
|
|
|
|
diff --git a/kernel/timer.c b/kernel/timer.c
|
|
index 7ba0602..e069d9f 100644
|
|
--- a/kernel/timer.c
|
|
+++ b/kernel/timer.c
|
|
@@ -1386,7 +1386,6 @@ void update_process_times(int user_tick)
|
|
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();
|
|
@@ -1402,6 +1401,7 @@ static void run_timer_softirq(struct softirq_action *h)
|
|
{
|
|
struct tvec_base *base = __this_cpu_read(tvec_bases);
|
|
|
|
+ printk_tick();
|
|
hrtimer_run_pending();
|
|
|
|
if (time_after_eq(jiffies, base->timer_jiffies))
|