Loading include/linux/hrtimer.h +13 −13 Original line number Original line Diff line number Diff line Loading @@ -198,19 +198,6 @@ struct hrtimer_cpu_base { #endif #endif }; }; /* * In high resolution mode the time reference must be read accurate */ static inline ktime_t hrtimer_cb_get_time(struct hrtimer *timer) { return timer->base->get_time(); } static inline int hrtimer_is_hres_active(struct hrtimer *timer) { return timer->base->cpu_base->hres_active; } static inline void hrtimer_set_expires(struct hrtimer *timer, ktime_t time) static inline void hrtimer_set_expires(struct hrtimer *timer, ktime_t time) { { timer->_expires = time; timer->_expires = time; Loading Loading @@ -283,6 +270,19 @@ extern void clock_was_set(void); extern void hres_timers_resume(void); extern void hres_timers_resume(void); extern void hrtimer_interrupt(struct clock_event_device *dev); extern void hrtimer_interrupt(struct clock_event_device *dev); /* * In high resolution mode the time reference must be read accurate */ static inline ktime_t hrtimer_cb_get_time(struct hrtimer *timer) { return timer->base->get_time(); } static inline int hrtimer_is_hres_active(struct hrtimer *timer) { return timer->base->cpu_base->hres_active; } /* /* * The resolution of the clocks. The resolution value is returned in * The resolution of the clocks. The resolution value is returned in * the clock_getres() system call to give application programmers an * the clock_getres() system call to give application programmers an Loading Loading
include/linux/hrtimer.h +13 −13 Original line number Original line Diff line number Diff line Loading @@ -198,19 +198,6 @@ struct hrtimer_cpu_base { #endif #endif }; }; /* * In high resolution mode the time reference must be read accurate */ static inline ktime_t hrtimer_cb_get_time(struct hrtimer *timer) { return timer->base->get_time(); } static inline int hrtimer_is_hres_active(struct hrtimer *timer) { return timer->base->cpu_base->hres_active; } static inline void hrtimer_set_expires(struct hrtimer *timer, ktime_t time) static inline void hrtimer_set_expires(struct hrtimer *timer, ktime_t time) { { timer->_expires = time; timer->_expires = time; Loading Loading @@ -283,6 +270,19 @@ extern void clock_was_set(void); extern void hres_timers_resume(void); extern void hres_timers_resume(void); extern void hrtimer_interrupt(struct clock_event_device *dev); extern void hrtimer_interrupt(struct clock_event_device *dev); /* * In high resolution mode the time reference must be read accurate */ static inline ktime_t hrtimer_cb_get_time(struct hrtimer *timer) { return timer->base->get_time(); } static inline int hrtimer_is_hres_active(struct hrtimer *timer) { return timer->base->cpu_base->hres_active; } /* /* * The resolution of the clocks. The resolution value is returned in * The resolution of the clocks. The resolution value is returned in * the clock_getres() system call to give application programmers an * the clock_getres() system call to give application programmers an Loading