Commit eb2e58de authored by Russell King's avatar Russell King

[ARM] Eliminate ARM private __KERNEL_HZ.

parent 5d68dd4b
/* /*
* linux/include/asm-arm/arch-ebsa110/param.h * linux/include/asm-arm/arch-ebsa110/param.h
*/ */
#define __KERNEL_HZ 200 #define HZ 200
...@@ -16,4 +16,4 @@ ...@@ -16,4 +16,4 @@
/* /*
* See 'time.h' for how the RTC HZ rate is set * See 'time.h' for how the RTC HZ rate is set
*/ */
#define __KERNEL_HZ 128 #define HZ 128
...@@ -22,6 +22,6 @@ ...@@ -22,6 +22,6 @@
* add a software pre-scaler to the evil timer systems. * add a software pre-scaler to the evil timer systems.
*/ */
#define __KERNEL_HZ 200 #define HZ 200
#endif /* __ASM_ARCH_PARAM_H */ #endif /* __ASM_ARCH_PARAM_H */
...@@ -11,13 +11,12 @@ ...@@ -11,13 +11,12 @@
#define __ASM_PARAM_H #define __ASM_PARAM_H
#ifdef __KERNEL__ #ifdef __KERNEL__
# include <asm/arch/param.h> /* for __KERNEL_HZ */ # include <asm/arch/param.h> /* for kernel version of HZ */
# ifndef __KERNEL_HZ # ifndef HZ
# define __KERNEL_HZ 100 # define HZ 100 /* Internal kernel timer frequency */
# endif # endif
# define HZ __KERNEL_HZ /* Internal kernel timer frequency */
# define USER_HZ 100 /* User interfaces are in "ticks" */ # define USER_HZ 100 /* User interfaces are in "ticks" */
# define CLOCKS_PER_SEC (USER_HZ) /* like times() */ # define CLOCKS_PER_SEC (USER_HZ) /* like times() */
#else #else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment