tick: broadcast: Simplify oneshot logic and shorten lock region
authorThomas Gleixner <tglx@linutronix.de>
Tue, 5 May 2015 07:44:24 +0000 (09:44 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 5 May 2015 08:25:23 +0000 (10:25 +0200)
commit298dbd1c5cd66f0ac85981b83b7d519a5d88d1b8
tree35b7a244bf1ddfe93d247e48d7a753eea82764db
parent2951d5c031a3aaefa31b688fbf229e75692f4786
tick: broadcast: Simplify oneshot logic and shorten lock region

Simplify the oneshot logic by avoiding the reprogramming loops. That
also allows to call the cpu local handler outside of the
broadcast_lock held region.

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