I had some timing problems also but Andrew pointed out the following:
Seems that this is because different parts of the kernel are using
different values of HZ (!).
In include/asm-i386/param.h, please add:
#ifdef __KERNEL__
+#include <linux/config.h>
#ifdef CONFIG_1000HZ
Here is a patch for that change:
--- linux-2.5/include/asm-i386/param.h.bak 2002-12-30 00:39:35.000000000 -0500
+++ linux-2.5/include/asm-i386/param.h 2002-12-30 00:40:18.000000000 -0500
@@ -3,6 +3,8 @@
#ifdef __KERNEL__
+#include <linux/config.h>
+
#ifdef CONFIG_1000HZ
# define HZ 1000 /* Internal kernel timer frequency */
#else
-- L1: khromy ;khromy(at)lnuxlab.ath.cx - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/