aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2011-01-06 12:54:58 -0500
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-01-20 22:08:35 -0500
commit619b267724e8cc41072d650ae28114851dd8bf56 (patch)
treea7ba5806aa7ac6ab9291a44940217f6708ec8f9f /arch
parent50266a1f8a6618f2e477635cfcf457b5da8d5a68 (diff)
powerpc/kexec: Remove ppc_md.machine_kexec_cleanup
No one uses ppc_md.machine_kexec_cleanup, so remove it. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/include/asm/machdep.h3
-rw-r--r--arch/powerpc/kernel/machine_kexec.c2
2 files changed, 0 insertions, 5 deletions
diff --git a/arch/powerpc/include/asm/machdep.h b/arch/powerpc/include/asm/machdep.h
index b2e8d69280cc..67cd82e4e27f 100644
--- a/arch/powerpc/include/asm/machdep.h
+++ b/arch/powerpc/include/asm/machdep.h
@@ -247,9 +247,6 @@ struct machdep_calls {
247 */ 247 */
248 int (*machine_kexec_prepare)(struct kimage *image); 248 int (*machine_kexec_prepare)(struct kimage *image);
249 249
250 /* Called to handle any machine specific cleanup on image */
251 void (*machine_kexec_cleanup)(struct kimage *image);
252
253 /* Called to perform the _real_ kexec. 250 /* Called to perform the _real_ kexec.
254 * Do NOT allocate memory or fail here. We are past the point of 251 * Do NOT allocate memory or fail here. We are past the point of
255 * no return. 252 * no return.
diff --git a/arch/powerpc/kernel/machine_kexec.c b/arch/powerpc/kernel/machine_kexec.c
index df7e20c191cd..fae67642499d 100644
--- a/arch/powerpc/kernel/machine_kexec.c
+++ b/arch/powerpc/kernel/machine_kexec.c
@@ -65,8 +65,6 @@ int machine_kexec_prepare(struct kimage *image)
65 65
66void machine_kexec_cleanup(struct kimage *image) 66void machine_kexec_cleanup(struct kimage *image)
67{ 67{
68 if (ppc_md.machine_kexec_cleanup)
69 ppc_md.machine_kexec_cleanup(image);
70} 68}
71 69
72void arch_crash_save_vmcoreinfo(void) 70void arch_crash_save_vmcoreinfo(void)