2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 20:23:57 +08:00

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:
Arnd Bergmann 2008-06-12 19:14:35 +10:00 committed by Paul Mackerras
parent aee10c6145
commit cf2076012f

View File

@ -70,4 +70,4 @@ static int __init pseries_kexec_setup(void)
return 0;
}
__initcall(pseries_kexec_setup);
machine_device_initcall(pseries, pseries_kexec_setup);