summaryrefslogtreecommitdiffstats
path: root/include/asm-ppc64
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2005-08-24 08:53:03 +1000
committerPaul Mackerras <paulus@samba.org>2005-08-30 13:40:02 +1000
commit717522ff44f1fbee5ea09e83d7cd4b5c956e30f9 (patch)
tree9585541eb45c8afa0a9f024e145b43063189e0f4 /include/asm-ppc64
parent04ed65190a5d1562220dd3a7fc9eac2402c7104c (diff)
downloadop-kernel-dev-717522ff44f1fbee5ea09e83d7cd4b5c956e30f9.zip
op-kernel-dev-717522ff44f1fbee5ea09e83d7cd4b5c956e30f9.tar.gz
[PATCH] ppc64: Add CONFIG_HZ
While ppc64 has the CONFIG_HZ Kconfig option, it wasnt actually being used. Connect it up and set all platforms to 250Hz. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-ppc64')
-rw-r--r--include/asm-ppc64/param.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-ppc64/param.h b/include/asm-ppc64/param.h
index 1fad38d..76c212d 100644
--- a/include/asm-ppc64/param.h
+++ b/include/asm-ppc64/param.h
@@ -1,6 +1,8 @@
#ifndef _ASM_PPC64_PARAM_H
#define _ASM_PPC64_PARAM_H
+#include <linux/config.h>
+
/*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -9,7 +11,7 @@
*/
#ifdef __KERNEL__
-# define HZ 1000 /* 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
OpenPOWER on IntegriCloud