|
@@ -760,7 +760,7 @@ common_timer_get(struct k_itimer *timr, struct itimerspec *cur_setting)
|
|
(timr->it_sigev_notify & ~SIGEV_THREAD_ID) == SIGEV_NONE))
|
|
(timr->it_sigev_notify & ~SIGEV_THREAD_ID) == SIGEV_NONE))
|
|
timr->it_overrun += (unsigned int) hrtimer_forward(timer, now, iv);
|
|
timr->it_overrun += (unsigned int) hrtimer_forward(timer, now, iv);
|
|
|
|
|
|
- remaining = ktime_sub(hrtimer_get_expires(timer), now);
|
|
|
|
|
|
+ remaining = __hrtimer_expires_remaining_adjusted(timer, now);
|
|
/* Return 0 only, when the timer is expired and not pending */
|
|
/* Return 0 only, when the timer is expired and not pending */
|
|
if (remaining.tv64 <= 0) {
|
|
if (remaining.tv64 <= 0) {
|
|
/*
|
|
/*
|