summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/machine_kexec.c
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2011-01-06 18:56:09 +0100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-01-21 04:08:35 +0100
commitc1f784e553490a2602567666fc79ff142cb4413b (patch)
treeab66c2dfbd209b3d3ca51e1d8be5c3566faaa607 /arch/powerpc/kernel/machine_kexec.c
parentpowerpc/kexec: Remove ppc_md.machine_kexec (diff)
downloadlinux-c1f784e553490a2602567666fc79ff142cb4413b.tar.xz
linux-c1f784e553490a2602567666fc79ff142cb4413b.zip
powerpc/kdump: Remove ppc_md.machine_crash_shutdown
No one uses ppc_md.machine_crash_shutdown, so remove it. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/machine_kexec.c')
-rw-r--r--arch/powerpc/kernel/machine_kexec.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/powerpc/kernel/machine_kexec.c b/arch/powerpc/kernel/machine_kexec.c
index 43836aa8348e..3427b2faa19a 100644
--- a/arch/powerpc/kernel/machine_kexec.c
+++ b/arch/powerpc/kernel/machine_kexec.c
@@ -44,10 +44,7 @@ void machine_kexec_mask_interrupts(void) {
void machine_crash_shutdown(struct pt_regs *regs)
{
- if (ppc_md.machine_crash_shutdown)
- ppc_md.machine_crash_shutdown(regs);
- else
- default_machine_crash_shutdown(regs);
+ default_machine_crash_shutdown(regs);
}
/*