Hi Greg,

CLOCK_TICK_RATE should give the underlying frequency of the tick timer,
to make ntp happy.  For Coldfires, that's the main clock.
Here is a fix.

Signed-off-by: Philippe De Muyter <[EMAIL PROTECTED]>

--- linux-2.6-hg/include/asm-m68knommu/timex.h  2005-09-14 15:11:09.000000000 
+0200
+++ linux-2.6.x//include/asm-m68knommu/timex.h  2006-02-13 08:29:12.000000000 
+0100
@@ -1 +1,17 @@
+/*
+ * linux/include/asm-m68knommu/timex.h
+ *
+ * m68knommu architecture timex specifications
+ */
+#ifndef _ASMm68kNOMMU_TIMEX_H
+#define _ASMm68kNOMMU_TIMEX_H
+
 #include <asm-m68k/timex.h>
+
+#ifdef CONFIG_COLDFIRE
+#undef CLOCK_TICK_RATE
+#include <asm/coldfire.h>
+#define CLOCK_TICK_RATE MCF_CLK        /* Underlying HZ */
+#endif
+
+#endif

_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to