arch/x86_64/intel64: fix compilation errors in intel64_oneshot_lower.c
clock_time2ticks and clock_ticks2time macros changes but this file was not update Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com>
This commit is contained in:
parent
d6a6a0a7cc
commit
2b1da40832
@ -347,7 +347,7 @@ static int intel64_tick_max_delay(struct oneshot_lowerhalf_s *lower,
|
|||||||
|
|
||||||
/* Convert time to ticks */
|
/* Convert time to ticks */
|
||||||
|
|
||||||
clock_time2ticks(&ts, (sclock_t *)ticks);
|
*ticks = clock_time2ticks(&ts);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
@ -380,7 +380,7 @@ static int intel64_tick_start(struct oneshot_lowerhalf_s *lower,
|
|||||||
|
|
||||||
/* Convert ticks to time */
|
/* Convert ticks to time */
|
||||||
|
|
||||||
clock_ticks2time(ticks, &ts);
|
clock_ticks2time(&ts, ticks);
|
||||||
|
|
||||||
return intel64_start(lower, callback, arg, &ts);
|
return intel64_start(lower, callback, arg, &ts);
|
||||||
}
|
}
|
||||||
@ -418,7 +418,7 @@ static int intel64_tick_cancel(struct oneshot_lowerhalf_s *lower,
|
|||||||
|
|
||||||
/* Convert time to ticks */
|
/* Convert time to ticks */
|
||||||
|
|
||||||
clock_time2ticks(&ts, (sclock_t *)ticks);
|
*ticks = clock_time2ticks(&ts);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
@ -451,7 +451,7 @@ static int intel64_tick_current(struct oneshot_lowerhalf_s *lower,
|
|||||||
|
|
||||||
/* Convert time to ticks */
|
/* Convert time to ticks */
|
||||||
|
|
||||||
clock_time2ticks(&ts, (sclock_t *)ticks);
|
*ticks = clock_time2ticks(&ts);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user