summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2013-06-06 09:49:01 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2013-06-06 09:49:01 +0900
commit5540f9b08a2b997aaa4bfbe3aa8bbaa571945eaa (patch)
tree3317f4222935965c0e11bb89d105ff1c796189b9
parent4c151b5af366b82a8c532d3b864873e96ea23520 (diff)
fix PREEMPTION_USEC
-rw-r--r--ChangeLog4
-rw-r--r--chopstx.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 51915cc..44eb4c5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-06-06 Niibe Yutaka <gniibe@fsij.org>
+
+ * chopstx.c (PREEMPTION_USEC): Fix.
+
2013-06-05 Niibe Yutaka <gniibe@fsij.org>
* chopstx.c (sched, preempt, svc, chx_timer_expired, chx_exit)
diff --git a/chopstx.c b/chopstx.c
index 486adc0..fe7c366 100644
--- a/chopstx.c
+++ b/chopstx.c
@@ -89,7 +89,7 @@ chx_fatal (uint32_t err_code)
struct chx_thread *running;
/* For round robin scheduling. */
-#define PREEMPTION_USEC (1000*MHZ) /* 1ms */
+#define PREEMPTION_USEC 1000 /* 1ms */
/* Double linked list operations. */
struct chx_dll {