lkml.org 
[lkml]   [2000]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: test 10 breaks on alpha
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/

\
 
 \ /
  Last update: 2005-03-22 12:45    [W:0.016 / U:10.464 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site