Skip to content

Commit

Permalink
powerpc/pseries: Call pseries_kexec_setup only on pseries
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Arnd Bergmann authored and Paul Mackerras committed Jun 30, 2008
1 parent aee10c6 commit cf20760
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/pseries/kexec.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 comments on commit cf20760

Please sign in to comment.