Skip to content

Commit

Permalink
powerpc/kexec: Remove ppc_md.machine_kexec_cleanup
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Anton Blanchard authored and Benjamin Herrenschmidt committed Jan 21, 2011
1 parent 50266a1 commit 619b267
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions arch/powerpc/include/asm/machdep.h
Original file line number Diff line number Diff line change
Expand Up @@ -247,9 +247,6 @@ struct machdep_calls {
*/
int (*machine_kexec_prepare)(struct kimage *image);

/* Called to handle any machine specific cleanup on image */
void (*machine_kexec_cleanup)(struct kimage *image);

/* Called to perform the _real_ kexec.
* Do NOT allocate memory or fail here. We are past the point of
* no return.
Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/kernel/machine_kexec.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ int machine_kexec_prepare(struct kimage *image)

void machine_kexec_cleanup(struct kimage *image)
{
if (ppc_md.machine_kexec_cleanup)
ppc_md.machine_kexec_cleanup(image);
}

void arch_crash_save_vmcoreinfo(void)
Expand Down

0 comments on commit 619b267

Please sign in to comment.