clockevents: check broadcast tick device not the clock events device
authorThomas Gleixner <tglx@linutronix.de>
Sat, 4 Oct 2008 08:51:07 +0000 (10:51 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 4 Oct 2008 08:51:07 +0000 (10:51 +0200)
commit07454bfff151d2465ada809bbaddf3548cc1097c
treefae1802b291e57c0376f9deddcbd8bf539587940
parent2165f631f0e1d4e9a1ee425ef05cb727352285e0
clockevents: check broadcast tick device not the clock events device

Impact: jiffies increment too fast.

Hugh Dickins noted that with NOHZ=n and HIGHRES=n jiffies get
incremented too fast. The reason is a wrong check in the broadcast
enter/exit code, which keeps the local apic timer in periodic mode
when the switch happens.

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