]> git.hungrycats.org Git - linux/commitdiff
[ARM] Eliminate ARM private __KERNEL_HZ.
authorRussell King <rmk@flint.arm.linux.org.uk>
Tue, 7 Sep 2004 20:19:18 +0000 (21:19 +0100)
committerRussell King <rmk@flint.arm.linux.org.uk>
Tue, 7 Sep 2004 20:19:18 +0000 (21:19 +0100)
include/asm-arm/arch-ebsa110/param.h
include/asm-arm/arch-l7200/param.h
include/asm-arm/arch-s3c2410/param.h
include/asm-arm/param.h

index 13a9fc1b7a257c59e7d4d639609876ab77b4cff4..be19b08d1c750cc73474c342eba5f22e3f92e697 100644 (file)
@@ -1,4 +1,4 @@
 /*
  *  linux/include/asm-arm/arch-ebsa110/param.h
  */
-#define __KERNEL_HZ    200
+#define HZ     200
index 98786ad712026427571175a229162132f8ec3a4f..9962a12ab1585497a344a2055fc947751a0001a9 100644 (file)
@@ -16,4 +16,4 @@
 /*
  * See 'time.h' for how the RTC HZ rate is set
  */
-#define __KERNEL_HZ 128
+#define HZ 128
index 9a5fcde9f8a69ae20d433220fc823578bc56beac..483d3f149883f7dba9e88514186648a56fd5408b 100644 (file)
@@ -22,6 +22,6 @@
  * add a software pre-scaler to the evil timer systems.
 */
 
-#define __KERNEL_HZ   200
+#define HZ   200
 
 #endif /* __ASM_ARCH_PARAM_H */
index 6b1e23ca0cf17049316f749813fa9f59f4b7ae2b..94223d4d7e888da23c64b797b09e1c05af684f87 100644 (file)
 #define __ASM_PARAM_H
 
 #ifdef __KERNEL__
-# include <asm/arch/param.h>           /* for __KERNEL_HZ */
+# include <asm/arch/param.h>           /* for kernel version of HZ */
 
-# ifndef __KERNEL_HZ
-# define __KERNEL_HZ   100
+# ifndef HZ
+#  define HZ           100             /* Internal kernel timer frequency */
 # endif
 
-# define HZ            __KERNEL_HZ     /* Internal kernel timer frequency */
 # define USER_HZ       100             /* User interfaces are in "ticks" */
 # define CLOCKS_PER_SEC        (USER_HZ)       /* like times() */
 #else