[PATCH] use Kconfig.hz

Olaf Hering olh at suse.de
Wed Jul 13 23:55:25 EST 2005

use new Kconfig.hz on ppc/ppc64, use also Kconfig.preempt for ppc

Signed-off-by: Olaf Hering <olh at suse.de>

 arch/ppc/Kconfig   |   12 ++----------
 arch/ppc64/Kconfig |    1 +
 2 files changed, 3 insertions(+), 10 deletions(-)

Index: linux-2.6.13-rc3-olh/arch/ppc/Kconfig
--- linux-2.6.13-rc3-olh.orig/arch/ppc/Kconfig
+++ linux-2.6.13-rc3-olh/arch/ppc/Kconfig
@@ -935,19 +935,11 @@ config NR_CPUS
 	depends on SMP
 	default "4"
-config PREEMPT
-	bool "Preemptible Kernel"
-	help
-	  This option reduces the latency of the kernel when reacting to
-	  real-time or interactive events by allowing a low priority process to
-	  be preempted even if it is in kernel mode executing a system call.
-	  Say Y here if you are building a kernel for a desktop, embedded
-	  or real-time system.  Say N if you are unsure.
 config HIGHMEM
 	bool "High memory support"
+source kernel/Kconfig.hz
+source kernel/Kconfig.preempt
 source "mm/Kconfig"
 source "fs/Kconfig.binfmt"
Index: linux-2.6.13-rc3-olh/arch/ppc64/Kconfig
--- linux-2.6.13-rc3-olh.orig/arch/ppc64/Kconfig
+++ linux-2.6.13-rc3-olh/arch/ppc64/Kconfig
@@ -288,6 +288,7 @@ config SCHED_SMT
 	  overhead in some places. If unsure say N here.
 source "kernel/Kconfig.preempt"
+source kernel/Kconfig.hz
 config EEH
 	bool "PCI Extended Error Handling (EEH)" if EMBEDDED

More information about the Linuxppc-dev mailing list