tick/broadcast: Split __tick_broadcast_oneshot_control() into a helper
authorWill Deacon <will@kernel.org>
Mon, 24 May 2021 22:18:15 +0000 (23:18 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 31 May 2021 15:04:45 +0000 (17:04 +0200)
commite5007c288e7981e0b0cf8ea3dea443f0b8c34345
tree45f1605648265cf20bbca1dbcc138e52b68fe3ae
parentc2d4fee3f6d170dee5ee7c337a0ba5e92fad7a64
tick/broadcast: Split __tick_broadcast_oneshot_control() into a helper

In preparation for adding support for per-cpu wakeup timers, split
_tick_broadcast_oneshot_control() into a helper function which deals
only with the broadcast timer management across idle transitions.

Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20210524221818.15850-3-will@kernel.org
kernel/time/tick-broadcast.c