Commit cf207601 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Paul Mackerras

powerpc/pseries: Call pseries_kexec_setup only on pseries

The pseries_kexec_setup function overwrites some ppc_md
pointers, so make sure it only gets called when running on
the right architecture.
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent aee10c61
......@@ -70,4 +70,4 @@ static int __init pseries_kexec_setup(void)
return 0;
}
__initcall(pseries_kexec_setup);
machine_device_initcall(pseries, pseries_kexec_setup);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment