]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
clockevents: prevent stale tick_next_period for onlining CPUs
authorThomas Gleixner <tglx@linutronix.de>
Mon, 22 Sep 2008 16:56:01 +0000 (18:56 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 23 Sep 2008 09:38:53 +0000 (11:38 +0200)
commit49d670fb8dd62d3ed4e3ed2513538ea65b051aed
tree7d571897b5407abc25b776d4738e4af3ea0a5940
parent4faac97d44ac27bdbb010a9c3597401a8f89341f
clockevents: prevent stale tick_next_period for onlining CPUs

Impact: possible hang on CPU onlining in timer one shot mode.

The tick_next_period variable is only used during boot on nohz/highres
enabled systems, but for CPU onlining it needs to be maintained when
the per cpu clock events device operates in one shot mode.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/time/tick-sched.c