From 2b1da408327a08d11e5763ea4b223d21b01dff0e Mon Sep 17 00:00:00 2001 From: p-szafonimateusz Date: Fri, 13 Sep 2024 09:52:26 +0200 Subject: [PATCH] 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 --- arch/x86_64/src/intel64/intel64_oneshot_lower.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/x86_64/src/intel64/intel64_oneshot_lower.c b/arch/x86_64/src/intel64/intel64_oneshot_lower.c index 766b87e313..7bd2aacf38 100644 --- a/arch/x86_64/src/intel64/intel64_oneshot_lower.c +++ b/arch/x86_64/src/intel64/intel64_oneshot_lower.c @@ -347,7 +347,7 @@ static int intel64_tick_max_delay(struct oneshot_lowerhalf_s *lower, /* Convert time to ticks */ - clock_time2ticks(&ts, (sclock_t *)ticks); + *ticks = clock_time2ticks(&ts); return ret; } @@ -380,7 +380,7 @@ static int intel64_tick_start(struct oneshot_lowerhalf_s *lower, /* Convert ticks to time */ - clock_ticks2time(ticks, &ts); + clock_ticks2time(&ts, ticks); 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 */ - clock_time2ticks(&ts, (sclock_t *)ticks); + *ticks = clock_time2ticks(&ts); return ret; } @@ -451,7 +451,7 @@ static int intel64_tick_current(struct oneshot_lowerhalf_s *lower, /* Convert time to ticks */ - clock_time2ticks(&ts, (sclock_t *)ticks); + *ticks = clock_time2ticks(&ts); return ret; }