The clock on some alpha systems might be at 1200 Hz...
you've rather to use HZ:
--- /usr/src/linux/include/asm-alpha/param.h.orig Wed Nov 1 12:31:56
2000
+++ /usr/src/linux/include/asm-alpha/param.h Wed Nov 1 12:33:22 2000
@@ -27,4 +27,8 @@
#define MAXHOSTNAMELEN 64 /* max length of hostname */
+#ifdef __KERNEL__
+# define CLOCKS_PER_SEC HZ
+#endif
+
#endif /* _ASM_ALPHA_PARAM_H */
and, yes... this patch works, at least on a 500au I've got
2.4.0t10 running on.
[BTW: the 500au is a Miata, hence the frequency is 1024 Hz]
Cheers,
lg
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Tue Nov 07 2000 - 21:00:12 EST