diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-04-21 19:38:45 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-04-21 19:38:45 +0300 |
| commit | 1a5248bb177242a34fd51efadb4af941853d5e35 (patch) | |
| tree | 669565c49217876611565c42867dcf0126e08933 /arch/riscv64/kernel/timer.c | |
| parent | 7967a9ab13214543041e4408086668b4db8d3e62 (diff) | |
| download | kmi-1a5248bb177242a34fd51efadb4af941853d5e35.tar.gz kmi-1a5248bb177242a34fd51efadb4af941853d5e35.zip | |
use uint64_t for timer ticks
+ GCC seems to provide this even on 32bit platforms, though I should
really check.
Diffstat (limited to 'arch/riscv64/kernel/timer.c')
| -rw-r--r-- | arch/riscv64/kernel/timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv64/kernel/timer.c b/arch/riscv64/kernel/timer.c index cad811d..b6d828e 100644 --- a/arch/riscv64/kernel/timer.c +++ b/arch/riscv64/kernel/timer.c @@ -1,6 +1,6 @@ #include <arch/timer.h> -ticks_t stat_timer() +ticks_t stat_timer(const void *fdt) { /* TODO: read from fdt */ return 0; |
