/* hrtimer_get_remaining - get remaining time for the timer @timer: the timer to read  */
ktime_t hrtimer_get_remaining(const struct hrtimer *timer)
/* hrtimer_get_remaining - get remaining time for the timer @timer: the timer to read  */
ktime_t hrtimer_get_remaining(const struct hrtimer *timer)
{
	struct hrtimer_clock_base *base;
	unsigned long flags;
	ktime_t rem;
	base = lock_hrtimer_base(timer, &flags);
	rem = hrtimer_expires_remaining(timer);
	unlock_hrtimer_base(timer, &flags);
	return rem;
}