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
-  Lines: 14
-  Date:
Thu Oct 25 13:53:53 2001
-  Orig file: 
v2.4.13/linux/include/asm-arm/arch-l7200/param.h
-  Orig date: 
Mon May 15 12:00:33 2000
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)