shithub: riscv

Download patch

ref: e6f37cf64ec911ddbe89998a97e311662891bf28
parent: 63ac70281a28b96bd70259bb0949c3964415271f
author: cinap_lenrek <[email protected]>
date: Fri Jun 13 06:19:46 EDT 2014

pc64: fix MS2HZ (thanks Anthony Martin)

--- a/sys/src/9/pc64/mem.h
+++ b/sys/src/9/pc64/mem.h
@@ -36,7 +36,7 @@
  * Time
  */
 #define HZ		(100)			/* clock frequency */
-#define MS2HZ		(100/HZ)		/* millisec per clock tick */
+#define MS2HZ		(1000/HZ)		/* millisec per clock tick */
 #define TK2SEC(t)	((t)/HZ)		/* ticks to seconds */
 
 /*