patch-1.3.31 linux/include/asm-alpha/param.h

Next file: linux/include/asm-alpha/unistd.h
Previous file: linux/include/asm-alpha/io.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.30/linux/include/asm-alpha/param.h linux/include/asm-alpha/param.h
@@ -1,8 +1,15 @@
 #ifndef _ASMAXP_PARAM_H
 #define _ASMAXP_PARAM_H
 
+#include <linux/config.h>
+
 #ifndef HZ
-#define HZ 1024
+# if defined(CONFIG_ALPHA_EB66) || defined(CONFIG_ALPHA_EB66P) || \
+     defined(CONFIG_ALPHA_EB64) || defined(CONFIG_ALPHA_EB64P)
+#  define HZ	 977	/* Evaluation Boards seem to be a little odd */
+# else
+#  define HZ	1024	/* normal value for Alpha systems */
+# endif
 #endif
 
 #define EXEC_PAGESIZE	8192

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this