aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/amd64/amd64/lapic.c2
-rw-r--r--sys/include/arch/amd64/lapic.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/lapic.c b/sys/arch/amd64/amd64/lapic.c
index a1cbbf1..63c05c7 100644
--- a/sys/arch/amd64/amd64/lapic.c
+++ b/sys/arch/amd64/amd64/lapic.c
@@ -253,7 +253,7 @@ lapic_timer_oneshot(bool mask, uint32_t count)
* @us: Microseconds.
*/
void
-lapic_timer_oneshot_us(uint32_t us)
+lapic_timer_oneshot_us(size_t us)
{
uint64_t ticks;
struct cpu_info *ci = this_cpu();
diff --git a/sys/include/arch/amd64/lapic.h b/sys/include/arch/amd64/lapic.h
index b8fae1b..db27ad6 100644
--- a/sys/include/arch/amd64/lapic.h
+++ b/sys/include/arch/amd64/lapic.h
@@ -50,7 +50,7 @@ enum {
void lapic_timer_init(size_t *freq_out);
void lapic_timer_oneshot(bool mask, uint32_t count);
-void lapic_timer_oneshot_us(uint32_t us);
+void lapic_timer_oneshot_us(size_t us);
void lapic_send_ipi(uint8_t id, uint8_t shorthand, uint8_t vector);
void lapic_init(void);