patch-2.4.14 linux/include/asm-arm/arch-l7200/param.h

Next file: linux/include/asm-arm/arch-nexuspci/keyboard.h
Previous file: linux/include/asm-arm/arch-integrator/keyboard.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.13/linux/include/asm-arm/arch-l7200/param.h linux/include/asm-arm/arch-l7200/param.h
@@ -20,4 +20,13 @@
  */
 #define HZ 128
 
+/*
+ * Define hz_to_std, since we have a non 100Hz define
+ * (see include/asm-arm/param.h)
+ */
+
+#if defined(__KERNEL__)
+#define hz_to_std(a) ((a * HZ)/100)
+#endif
+
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)