Skip to content
Snippets Groups Projects
Commit cf207601 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Paul Mackerras
Browse files

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
No related branches found
No related tags found
No related merge requests found
......@@ -70,4 +70,4 @@ static int __init pseries_kexec_setup(void)
return 0;
}
__initcall(pseries_kexec_setup);
machine_device_initcall(pseries, pseries_kexec_setup);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment