lib/timer_queue.c: Fix function signature

The timer_sched_callback function signature was changed in timer.h as
part of commit d522f38c7b (timer: Change
timer util functions to 64-bit) but the implementation was not updated
to match.

TEST=Enable timer queue and build

Signed-off-by: Fred Reitberger <reitbergerfred@gmail.com>
Change-Id: Ie00b027790131f42bd79fbc6ea400a056e67949b
Reviewed-on: https://review.coreboot.org/c/coreboot/+/67767
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Reviewed-by: Rob Barnes <robbarnes@google.com>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
Fred Reitberger 2022-09-21 15:48:18 -04:00 committed by Felix Held
parent 70daaf4be0
commit 3c705fa35d
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ timer_queue_expired(struct timer_queue *tq, struct mono_time *current_time)
return tocb; return tocb;
} }
int timer_sched_callback(struct timeout_callback *tocb, unsigned long us) int timer_sched_callback(struct timeout_callback *tocb, uint64_t us)
{ {
struct mono_time current_time; struct mono_time current_time;