nohz: Reset next_tick cache even when the timer has no regs
authorFrederic Weisbecker <fweisbec@gmail.com>
Mon, 15 May 2017 12:56:50 +0000 (14:56 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 30 May 2017 16:35:32 +0000 (18:35 +0200)
commit7c25904508afef134d7a9d2ad1690ee6554a1faa
treed47750e02e4db44c1db625413e96ec4c6a1c05e1
parent411fe24e6b7c283c3a1911450cdba6dd3aaea56e
nohz: Reset next_tick cache even when the timer has no regs

Handle tick interrupts whose regs are NULL, out of general paranoia. It happens
when hrtimer_interrupt() is called from non-interrupt contexts, such as hotplug
CPU down events.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/time/tick-sched.c