summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKumar Gala <galak@freescale.com>2005-09-03 15:55:47 -0700
committerLinus Torvalds <torvalds@evo.osdl.org>2005-09-05 00:05:58 -0700
commit164ada643ddf4f492a206b9bf2f2b02918b618da (patch)
tree863031d8844e223ed50b782506ded5e0d4e8ddb0
parent88adfe70c667c9e8fe5ec68eba78af566b539e24 (diff)
downloadop-kernel-dev-164ada643ddf4f492a206b9bf2f2b02918b618da.zip
op-kernel-dev-164ada643ddf4f492a206b9bf2f2b02918b618da.tar.gz
[PATCH] ppc32: add CONFIG_HZ
While ppc32 has the CONFIG_HZ Kconfig option, it wasnt actually being used. Connect it up and set all platforms to 250Hz. This pretty much mimics the ppc64 patch from Anton Blanchard. Signed-off-by: Kumar Gala <kumar.gala@freescale.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--include/asm-ppc/param.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-ppc/param.h b/include/asm-ppc/param.h
index b24a4e3..6198b16 100644
--- a/include/asm-ppc/param.h
+++ b/include/asm-ppc/param.h
@@ -1,8 +1,10 @@
#ifndef _ASM_PPC_PARAM_H
#define _ASM_PPC_PARAM_H
+#include <linux/config.h>
+
#ifdef __KERNEL__
-#define HZ 1000 /* internal timer frequency */
+#define HZ CONFIG_HZ /* internal timer frequency */
#define USER_HZ 100 /* for user interfaces in "ticks" */
#define CLOCKS_PER_SEC (USER_HZ) /* frequency at which times() counts */
#endif /* __KERNEL__ */
OpenPOWER on IntegriCloud