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
feat: lunadbg GDB plugin to ease kernel debugging process.
[lunaix-os.git]
/
lunaix-os
/
kernel
/
time
/
timer.c
diff --git
a/lunaix-os/kernel/time/timer.c
b/lunaix-os/kernel/time/timer.c
index 8f368df59ce83889f6b2ccbef65fbf1456e1a37a..e48c40cd5c4a42a1028ba3748260eaee03e5e4c8 100644
(file)
--- a/
lunaix-os/kernel/time/timer.c
+++ b/
lunaix-os/kernel/time/timer.c
@@
-54,7
+54,7
@@
timer_init()
timer_ctx->base_frequency = hwtimer_base_frequency();
- sched_ticks =
SYS_TIMER_FREQUENCY_HZ / 1000 * SCHED_TIME_SLICE
;
+ sched_ticks =
(SYS_TIMER_FREQUENCY_HZ * SCHED_TIME_SLICE) / 1000
;
sched_ticks_counter = 0;
}