[ARM] Move HZ definition into Kconfig

Move the HZ definition into Kconfig, and set appropriate defaults
for platforms.  Remove mostly empty asm/arch/param.h include file.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
Russell King
2006-03-02 22:41:59 +00:00
committed by Russell King
parent ec1248e70e
commit f80658137f
24 changed files with 8 additions and 252 deletions

View File

@@ -11,12 +11,7 @@
#define __ASM_PARAM_H
#ifdef __KERNEL__
# include <asm/arch/param.h> /* for kernel version of HZ */
# ifndef HZ
# define HZ 100 /* Internal kernel timer frequency */
# endif
# define HZ CONFIG_HZ /* Internal kernel timer frequency */
# define USER_HZ 100 /* User interfaces are in "ticks" */
# define CLOCKS_PER_SEC (USER_HZ) /* like times() */
#else