From eb2e58de4987c69062f327d9af0f27a6b2cfc8a1 Mon Sep 17 00:00:00 2001 From: Russell King Date: Tue, 7 Sep 2004 21:19:18 +0100 Subject: [PATCH] [ARM] Eliminate ARM private __KERNEL_HZ. --- include/asm-arm/arch-ebsa110/param.h | 2 +- include/asm-arm/arch-l7200/param.h | 2 +- include/asm-arm/arch-s3c2410/param.h | 2 +- include/asm-arm/param.h | 7 +++---- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/include/asm-arm/arch-ebsa110/param.h b/include/asm-arm/arch-ebsa110/param.h index 13a9fc1b7a257..be19b08d1c750 100644 --- a/include/asm-arm/arch-ebsa110/param.h +++ b/include/asm-arm/arch-ebsa110/param.h @@ -1,4 +1,4 @@ /* * linux/include/asm-arm/arch-ebsa110/param.h */ -#define __KERNEL_HZ 200 +#define HZ 200 diff --git a/include/asm-arm/arch-l7200/param.h b/include/asm-arm/arch-l7200/param.h index 98786ad712026..9962a12ab1585 100644 --- a/include/asm-arm/arch-l7200/param.h +++ b/include/asm-arm/arch-l7200/param.h @@ -16,4 +16,4 @@ /* * See 'time.h' for how the RTC HZ rate is set */ -#define __KERNEL_HZ 128 +#define HZ 128 diff --git a/include/asm-arm/arch-s3c2410/param.h b/include/asm-arm/arch-s3c2410/param.h index 9a5fcde9f8a69..483d3f149883f 100644 --- a/include/asm-arm/arch-s3c2410/param.h +++ b/include/asm-arm/arch-s3c2410/param.h @@ -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 */ diff --git a/include/asm-arm/param.h b/include/asm-arm/param.h index 6b1e23ca0cf17..94223d4d7e888 100644 --- a/include/asm-arm/param.h +++ b/include/asm-arm/param.h @@ -11,13 +11,12 @@ #define __ASM_PARAM_H #ifdef __KERNEL__ -# include /* for __KERNEL_HZ */ +# include /* 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 -- 2.53.0