From e15363dc63eb38c108e3e01daa76853be3d787ea Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Fri, 15 Jan 2016 18:02:39 +0100
Subject: [PATCH 263/398] kernel/time: fix wrong next wakeup computation in
 get_next_timer_interrupt()

resululted in about 25% softirq load on CPUs during idle.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
---
 kernel/time/timer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/time/timer.c b/kernel/time/timer.c
index fc0afe5aa1ba..4aea81b23b3f 100644
--- a/kernel/time/timer.c
+++ b/kernel/time/timer.c
@@ -1460,7 +1460,7 @@ u64 get_next_timer_interrupt(unsigned long basej, u64 basem)
 	 * the base lock to check when the next timer is pending and so
 	 * we assume the next jiffy.
 	 */
-	return basej;
+	return basem + TICK_NSEC;
 #endif
 	spin_lock(&base->lock);
 	if (base->active_timers) {
-- 
2.14.4

