summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/param.h
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2006-06-19 17:19:13 +0200
committerRalf Baechle <ralf@linux-mips.org>2006-06-19 18:39:27 +0200
commit1723b4a34af85447684c9696af83929d2c1e8e6b (patch)
treeffd16da24a0a6a661d21d1b1f8ef85f0f3b615d9 /include/asm-mips/param.h
parent[MIPS] Correct HAL2 Kconfig description (diff)
downloadlinux-1723b4a34af85447684c9696af83929d2c1e8e6b.tar.xz
linux-1723b4a34af85447684c9696af83929d2c1e8e6b.zip
[MIPS] Make timer interrupt frequency configurable from kconfig.
Make HZ configurable. DECSTATION can select 128/256/1024 HZ, JAZZ can only select 100 HZ, others can select 100/128/250/256/1000/1024 HZ if not explicitly specified). Also remove all mach-xxx/param.h files and update all defconfigs according to current HZ value. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/param.h')
-rw-r--r--include/asm-mips/param.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-mips/param.h b/include/asm-mips/param.h
index 2bead8273ced..1d9bb8c5ab24 100644
--- a/include/asm-mips/param.h
+++ b/include/asm-mips/param.h
@@ -11,7 +11,7 @@
#ifdef __KERNEL__
-# include <param.h> /* Internal kernel timer frequency */
+# define HZ CONFIG_HZ /* Internal kernel timer frequency */
# define USER_HZ 100 /* .. some user interfaces are in "ticks" */
# define CLOCKS_PER_SEC (USER_HZ) /* like times() */
#endif