powerpc/pseries: Call pseries_kexec_setup only on pseries
authorArnd Bergmann <arnd@arndb.de>
Thu, 12 Jun 2008 09:14:35 +0000 (19:14 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 30 Jun 2008 12:30:57 +0000 (22:30 +1000)
commitcf2076012f3efbd945ceea67704fe515f8d6171f
tree1ea65daaabd569132ef2cbf4e68f0ab64e8a7984
parentaee10c6145199f872bc51f811b115a4b686b2426
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>
arch/powerpc/platforms/pseries/kexec.c