tick/broadcast: Unbreak CONFIG_GENERIC_CLOCKEVENTS=n build
authorThomas Gleixner <tglx@linutronix.de>
Tue, 7 Jul 2015 19:56:34 +0000 (21:56 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 7 Jul 2015 19:56:34 +0000 (21:56 +0200)
commit37b64a42067a04a22468c4e52c12af00d72e462b
tree52ab21a1de737d7f2379a41e09ada2aa3863c2da
parentc4288334818c81c946acb23d2319881f58c3d497
tick/broadcast: Unbreak CONFIG_GENERIC_CLOCKEVENTS=n build

Making tick_broadcast_oneshot_control() independent from
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST broke the build for
CONFIG_GENERIC_CLOCKEVENTS=n because the function is not defined
there.

Provide a proper stub inline.

Fixes: f32dd1170511 'tick/broadcast: Make idle check independent from mode and config'
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/tick.h