diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-12-10 00:31:02 (GMT) |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-03-07 04:50:13 (GMT) |
commit | d2a36071ef8dd24dceb95c3d9b05aaeac987b447 (patch) | |
tree | 0053c60c60445b300061f8b5b5a95733b7c0be5f | |
parent | 72eceef67abbe596a4e93ee79e08d9e6c35430ae (diff) | |
download | linux-d2a36071ef8dd24dceb95c3d9b05aaeac987b447.tar.xz |
powerpc/pseries: Don't try to register pseries cpu hotplug on non-pseries
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>
-rw-r--r-- | arch/powerpc/platforms/pseries/hotplug-cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/pseries/hotplug-cpu.c b/arch/powerpc/platforms/pseries/hotplug-cpu.c index 0ea99e3..9b8e050 100644 --- a/arch/powerpc/platforms/pseries/hotplug-cpu.c +++ b/arch/powerpc/platforms/pseries/hotplug-cpu.c @@ -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); |