Skip to content

Commit

Permalink
powerpc/pseries: Don't try to register pseries cpu hotplug on non-pse…
Browse files Browse the repository at this point in the history
…ries

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>
  • Loading branch information
Benjamin Herrenschmidt committed Mar 7, 2014
1 parent 72eceef commit d2a3607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/pseries/hotplug-cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

0 comments on commit d2a3607

Please sign in to comment.