Here's the patch to make it compile. I haven't tested this yet, but
I will once I can actually get a chance to sit at the console...
--- SNIP ---
--- /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 1024 /* frequency at which times() counts */
+#endif
+
#endif /* _ASM_ALPHA_PARAM_H */
--
Mark Allen -- [email protected] -- http://www.byte-me.org/~mallen/
PGP1: 0x5CDC2161 Mark Allen (Personal Key) <[email protected]>
PGP2: 0x80402A46 Mark Allen (Work) <[email protected]>
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