summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorFred Reitberger <reitbergerfred@gmail.com>2022-09-21 15:48:18 -0400
committerFelix Held <felix-coreboot@felixheld.de>2022-09-23 17:34:30 +0000
commit3c705fa35d014e8712e2e4766708196120b7aa6c (patch)
treedc8ce0c2f0601817ab4feb5afc4296eb6db5ab33 /src/lib
parent70daaf4be02e5c62c0193e1348a23504995d58f6 (diff)
downloadcoreboot-3c705fa35d014e8712e2e4766708196120b7aa6c.tar.gz
coreboot-3c705fa35d014e8712e2e4766708196120b7aa6c.tar.bz2
coreboot-3c705fa35d014e8712e2e4766708196120b7aa6c.zip
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 <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>
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/timer_queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/timer_queue.c b/src/lib/timer_queue.c
index badc600d642e..e8c6cded989c 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;