[PATCH] ppc64 Fix hotplug CPU when building a pseries+pmac kernel

Anton Blanchard anton at samba.org
Fri Sep 17 04:24:26 EST 2004


When a pseries+pmac kernel is built, the rtas stop-self token wasnt
being initialised. Since doing this will safely fail on pmac, remove the
!CONFIG_PPC_PMAC restriction

Signed-off-by: Anton Blanchard <anton at samba.org>

===== arch/ppc64/kernel/setup.c 1.76 vs edited =====
--- 1.76/arch/ppc64/kernel/setup.c	Tue Sep 14 10:23:15 2004
+++ edited/arch/ppc64/kernel/setup.c	Fri Sep 17 03:53:28 2004
@@ -429,9 +429,9 @@
 #endif /* CONFIG_PPC_PSERIES */
 #endif /* CONFIG_SMP */
 
-#if defined(CONFIG_HOTPLUG_CPU) &&  !defined(CONFIG_PPC_PMAC)
+#if defined(CONFIG_HOTPLUG_CPU)
 	rtas_stop_self_args.token = rtas_token("stop-self");
-#endif /* CONFIG_HOTPLUG_CPU && !CONFIG_PPC_PMAC */
+#endif /* CONFIG_HOTPLUG_CPU */
 
 	/* Finish initializing the hash table (do the dynamic
 	 * patching for the fast-path hashtable.S code)



More information about the Linuxppc64-dev mailing list