powerpc/pseries: Don't try to register pseries cpu hotplug on non-pseries
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 10 Dec 2013 00:31:02 +0000 (11:31 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 7 Mar 2014 04:50:13 +0000 (15:50 +1100)
This results in oddball messages at boot on other platforms telling us
that CPU hotplug isn't supported even when it is.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/pseries/hotplug-cpu.c

index 0ea99e3d4815733a74b8098864f3594839ed97eb..9b8e05078a63e73a2993cc89890793353a45f9ea 100644 (file)
@@ -420,4 +420,4 @@ static int __init pseries_cpu_hotplug_init(void)
 
        return 0;
 }
-arch_initcall(pseries_cpu_hotplug_init);
+machine_arch_initcall(pseries, pseries_cpu_hotplug_init);