[2.6 patch] arch/powerpc/Kconfig: fix GENERIC_TBSYNC dependencies

Adrian Bunk bunk at stusta.de
Wed Jan 11 00:02:22 EST 2006


This patch fixes the dependencies of GENERIC_TBSYNC (this bug was found 
by Jean-Luc Leger <reiga at dspnet.fr.eu.org>).

Additionally, it removes the superfluous "default n".


Signed-off-by: Adrian Bunk <bunk at stusta.de>

--- linux-2.6.15-mm2-full/arch/powerpc/Kconfig.old	2006-01-10 13:59:33.000000000 +0100
+++ linux-2.6.15-mm2-full/arch/powerpc/Kconfig	2006-01-10 13:59:57.000000000 +0100
@@ -406,8 +406,7 @@
 
 config GENERIC_TBSYNC
 	bool
-	default y if CONFIG_PPC32 && CONFIG_SMP
-	default n
+	default y if PPC32 && SMP
 
 source "drivers/cpufreq/Kconfig"
 




More information about the Linuxppc-dev mailing list