aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2008-06-12 05:14:35 -0400
committerPaul Mackerras <paulus@samba.org>2008-06-30 08:30:57 -0400
commitcf2076012f3efbd945ceea67704fe515f8d6171f (patch)
tree1ea65daaabd569132ef2cbf4e68f0ab64e8a7984 /arch
parentaee10c6145199f872bc51f811b115a4b686b2426 (diff)
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/platforms/pseries/kexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/pseries/kexec.c b/arch/powerpc/platforms/pseries/kexec.c
index e9dd5fe081c9..53cbd53d8740 100644
--- a/arch/powerpc/platforms/pseries/kexec.c
+++ b/arch/powerpc/platforms/pseries/kexec.c
@@ -70,4 +70,4 @@ static int __init pseries_kexec_setup(void)
70 70
71 return 0; 71 return 0;
72} 72}
73__initcall(pseries_kexec_setup); 73machine_device_initcall(pseries, pseries_kexec_setup);