From 3c705fa35d014e8712e2e4766708196120b7aa6c Mon Sep 17 00:00:00 2001 From: Fred Reitberger Date: Wed, 21 Sep 2022 15:48:18 -0400 Subject: lib/timer_queue.c: Fix function signature The timer_sched_callback function signature was changed in timer.h as part of commit d522f38c7bfccdc4af71bcad133aec20096f3f6c (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 Change-Id: Ie00b027790131f42bd79fbc6ea400a056e67949b Reviewed-on: https://review.coreboot.org/c/coreboot/+/67767 Reviewed-by: Raul Rangel Reviewed-by: Rob Barnes Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- src/lib/timer_queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/timer_queue.c b/src/lib/timer_queue.c index badc600d64..e8c6cded98 100644 --- a/src/lib/timer_queue.c +++ b/src/lib/timer_queue.c @@ -148,7 +148,7 @@ timer_queue_expired(struct timer_queue *tq, struct mono_time *current_time) 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; -- cgit v1.2.3