git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: corrected time conversion on alarm/sleep syscall
[lunaix-os.git]
/
lunaix-os
/
kernel
/
time
/
clock.c
diff --git
a/lunaix-os/kernel/time/clock.c
b/lunaix-os/kernel/time/clock.c
index 726e333b87d14f57a0db2db08310afc551c4b207..2dc4e8153359fc91c3137db86021b1bd86b457ee 100644
(file)
--- a/
lunaix-os/kernel/time/clock.c
+++ b/
lunaix-os/kernel/time/clock.c
@@
-69,7
+69,7
@@
time_t
clock_systime()
{
ticks_t t = hwtimer_current_systicks();
clock_systime()
{
ticks_t t = hwtimer_current_systicks();
- return t /
hwtimer_base_frequency()
;
+ return t /
current_timer->running_freq
;
}
void
}
void