summaryrefslogtreecommitdiffstats
path: root/sys/powerpc
diff options
context:
space:
mode:
authormike <mike@FreeBSD.org>2002-08-26 03:44:11 +0000
committermike <mike@FreeBSD.org>2002-08-26 03:44:11 +0000
commit1c9e2cece82fa9d621615fd78958ef8ba6284aea (patch)
treeead4ad5081cd3ca61eb7d36323e39cb8c82ced4b /sys/powerpc
parente83b2732b623dae08e67e83214827155c8fe1363 (diff)
downloadFreeBSD-src-1c9e2cece82fa9d621615fd78958ef8ba6284aea.zip
FreeBSD-src-1c9e2cece82fa9d621615fd78958ef8ba6284aea.tar.gz
Since arm and powerpc aren't far enough to set stathz, take a
preemptive strike and change _BSD_CLK_TCK_ and _BSD_CLOCKS_PER_SEC_ to 128. Approved by: benno
Diffstat (limited to 'sys/powerpc')
-rw-r--r--sys/powerpc/include/ansi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/powerpc/include/ansi.h b/sys/powerpc/include/ansi.h
index 5525ef7..06916b2 100644
--- a/sys/powerpc/include/ansi.h
+++ b/sys/powerpc/include/ansi.h
@@ -47,7 +47,7 @@
* to hold the required 24 hours worth of ticks if the frequency is
* 1000000ul, and ``unsigned long long'' would be nonstandard).
*/
-#define _BSD_CLK_TCK_ 100
-#define _BSD_CLOCKS_PER_SEC_ 100
+#define _BSD_CLK_TCK_ 128
+#define _BSD_CLOCKS_PER_SEC_ 128
#endif /* !_MACHINE_ANSI_H_ */
OpenPOWER on IntegriCloud