/* linux/include/linux/tick.h * * This file contains the structure definitions for tick related functions * */ #ifndef _LINUX_TICK_H #define _LINUX_TICK_H #include #ifdef CONFIG_GENERIC_CLOCKEVENTS enum tick_device_mode { TICKDEV_MODE_PERIODIC, TICKDEV_MODE_ONESHOT, }; struct tick_device { struct clock_event_device *evtdev; enum tick_device_mode mode; }; extern void __init tick_init(void); #else static inline void tick_init(void) { } #endif #endif