The patch titled
ppc64: Add CONFIG_HZ
has been added to the -mm tree. Its filename is
ppc64-add-config_hz.patch
Patches currently in -mm which might be from [EMAIL PROTECTED] are
ppc64-remove-nested-feature-sections.patch
ppc64-add-vmx-save-flag-to-vpa.patch
ppc64-large-initrd-causes-kernel-not-to-boot.patch
ppc64-add-config_hz.patch
From: Anton Blanchard <[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
arch/ppc64/configs/g5_defconfig | 6 +++---
arch/ppc64/configs/iSeries_defconfig | 6 +++---
arch/ppc64/configs/maple_defconfig | 6 +++---
arch/ppc64/configs/pSeries_defconfig | 6 +++---
arch/ppc64/defconfig | 6 +++---
include/asm-ppc64/param.h | 4 +++-
6 files changed, 18 insertions(+), 16 deletions(-)
diff -puN arch/ppc64/configs/g5_defconfig~ppc64-add-config_hz
arch/ppc64/configs/g5_defconfig
--- 25/arch/ppc64/configs/g5_defconfig~ppc64-add-config_hz Mon Aug 29
14:24:15 2005
+++ 25-akpm/arch/ppc64/configs/g5_defconfig Mon Aug 29 14:24:15 2005
@@ -103,10 +103,10 @@ CONFIG_PREEMPT_NONE=y
# CONFIG_PREEMPT_VOLUNTARY is not set
# CONFIG_PREEMPT is not set
# CONFIG_PREEMPT_BKL is not set
-CONFIG_HZ_100=y
-# CONFIG_HZ_250 is not set
+# CONFIG_HZ_100 is not set
+CONFIG_HZ_250=y
# CONFIG_HZ_1000 is not set
-CONFIG_HZ=100
+CONFIG_HZ=250
CONFIG_GENERIC_HARDIRQS=y
CONFIG_SECCOMP=y
CONFIG_ISA_DMA_API=y
diff -puN arch/ppc64/configs/iSeries_defconfig~ppc64-add-config_hz
arch/ppc64/configs/iSeries_defconfig
--- 25/arch/ppc64/configs/iSeries_defconfig~ppc64-add-config_hz Mon Aug 29
14:24:15 2005
+++ 25-akpm/arch/ppc64/configs/iSeries_defconfig Mon Aug 29 14:24:15 2005
@@ -94,10 +94,10 @@ CONFIG_PREEMPT_NONE=y
# CONFIG_PREEMPT_VOLUNTARY is not set
# CONFIG_PREEMPT is not set
# CONFIG_PREEMPT_BKL is not set
-CONFIG_HZ_100=y
-# CONFIG_HZ_250 is not set
+# CONFIG_HZ_100 is not set
+CONFIG_HZ_250=y
# CONFIG_HZ_1000 is not set
-CONFIG_HZ=100
+CONFIG_HZ=250
CONFIG_GENERIC_HARDIRQS=y
CONFIG_MSCHUNKS=y
CONFIG_LPARCFG=y
diff -puN arch/ppc64/configs/maple_defconfig~ppc64-add-config_hz
arch/ppc64/configs/maple_defconfig
--- 25/arch/ppc64/configs/maple_defconfig~ppc64-add-config_hz Mon Aug 29
14:24:15 2005
+++ 25-akpm/arch/ppc64/configs/maple_defconfig Mon Aug 29 14:24:15 2005
@@ -103,10 +103,10 @@ CONFIG_PREEMPT_NONE=y
# CONFIG_PREEMPT_VOLUNTARY is not set
# CONFIG_PREEMPT is not set
# CONFIG_PREEMPT_BKL is not set
-CONFIG_HZ_100=y
-# CONFIG_HZ_250 is not set
+# CONFIG_HZ_100 is not set
+CONFIG_HZ_250=y
# CONFIG_HZ_1000 is not set
-CONFIG_HZ=100
+CONFIG_HZ=250
CONFIG_GENERIC_HARDIRQS=y
CONFIG_SECCOMP=y
CONFIG_ISA_DMA_API=y
diff -puN arch/ppc64/configs/pSeries_defconfig~ppc64-add-config_hz
arch/ppc64/configs/pSeries_defconfig
--- 25/arch/ppc64/configs/pSeries_defconfig~ppc64-add-config_hz Mon Aug 29
14:24:15 2005
+++ 25-akpm/arch/ppc64/configs/pSeries_defconfig Mon Aug 29 14:24:15 2005
@@ -112,10 +112,10 @@ CONFIG_PREEMPT_NONE=y
# CONFIG_PREEMPT_VOLUNTARY is not set
# CONFIG_PREEMPT is not set
# CONFIG_PREEMPT_BKL is not set
-CONFIG_HZ_100=y
-# CONFIG_HZ_250 is not set
+# CONFIG_HZ_100 is not set
+CONFIG_HZ_250=y
# CONFIG_HZ_1000 is not set
-CONFIG_HZ=100
+CONFIG_HZ=250
CONFIG_EEH=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_PPC_RTAS=y
diff -puN arch/ppc64/defconfig~ppc64-add-config_hz arch/ppc64/defconfig
--- 25/arch/ppc64/defconfig~ppc64-add-config_hz Mon Aug 29 14:24:15 2005
+++ 25-akpm/arch/ppc64/defconfig Mon Aug 29 14:24:15 2005
@@ -114,10 +114,10 @@ CONFIG_PREEMPT_NONE=y
# CONFIG_PREEMPT_VOLUNTARY is not set
# CONFIG_PREEMPT is not set
# CONFIG_PREEMPT_BKL is not set
-CONFIG_HZ_100=y
-# CONFIG_HZ_250 is not set
+# CONFIG_HZ_100 is not set
+CONFIG_HZ_250=y
# CONFIG_HZ_1000 is not set
-CONFIG_HZ=100
+CONFIG_HZ=250
CONFIG_EEH=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_PPC_RTAS=y
diff -puN include/asm-ppc64/param.h~ppc64-add-config_hz
include/asm-ppc64/param.h
--- 25/include/asm-ppc64/param.h~ppc64-add-config_hz Mon Aug 29 14:24:15 2005
+++ 25-akpm/include/asm-ppc64/param.h Mon Aug 29 14:24:15 2005
@@ -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
_
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html