/* tick_is_oneshot_available - check for a oneshot capable event device  */
int tick_is_oneshot_available(void)
/* tick_is_oneshot_available - check for a oneshot capable event device  */
int tick_is_oneshot_available(void)
{
	struct clock_event_device *dev = __get_cpu_var(tick_cpu_device).evtdev;
	return dev && (dev->features & CLOCK_EVT_FEAT_ONESHOT);
}