forked from Minki/linux
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: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
parent
aee10c6145
commit
cf2076012f
@ -70,4 +70,4 @@ static int __init pseries_kexec_setup(void)
|
||||
|
||||
return 0;
|
||||
}
|
||||
__initcall(pseries_kexec_setup);
|
||||
machine_device_initcall(pseries, pseries_kexec_setup);
|
||||
|
Loading…
Reference in New Issue
Block a user