/* Returns the delta between the expiry time and now, which can be less than zero or 1usec for an pending expired timer  */
static struct timeval itimer_get_remtime(struct hrtimer *timer)
/* Returns the delta between the expiry time and now, which can be less than zero or 1usec for an pending expired timer  */
static struct timeval itimer_get_remtime(struct hrtimer *timer)
{
	ktime_t rem = hrtimer_get_remaining(timer);
	if (hrtimer_active(timer)) {
		if (rem.tv64 <= 0)
			rem.tv64 = NSEC_PER_USEC;
	} else
		rem.tv64 = 0;
	return ktime_to_timeval(rem);
}