summaryrefslogtreecommitdiff
path: root/include/asm-arm/param.h
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2006-03-02 22:41:59 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-03-21 22:05:45 +0000
commitf80658137fc8b789a71953adeca194a5a4747427 (patch)
tree55a634d2720412f2d70546576f7bc5e035e8b1b3 /include/asm-arm/param.h
parentec1248e70edc5cf7b485efcc7b41e44e10f422e5 (diff)
[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>
Diffstat (limited to 'include/asm-arm/param.h')
-rw-r--r--include/asm-arm/param.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/asm-arm/param.h b/include/asm-arm/param.h
index 94223d4d7e88..15806468ba72 100644
--- a/include/asm-arm/param.h
+++ b/include/asm-arm/param.h
@@ -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