| Submitter | Mahesh Salgaonkar |
|---|---|
| Date | Nov. 7, 2011, 9:56 a.m. |
| Message ID | <20111107095624.1997.39099.stgit@mars.in.ibm.com> |
| Download | mbox | patch |
| Permalink | /patch/124036/ |
| State | Superseded |
| Headers | show |
Comments
Patch
diff --git a/arch/powerpc/kernel/setup-common.c b/arch/powerpc/kernel/setup-common.c index ce35aaf..67e5caa 100644 --- a/arch/powerpc/kernel/setup-common.c +++ b/arch/powerpc/kernel/setup-common.c @@ -110,6 +110,14 @@ EXPORT_SYMBOL(ppc_do_canonicalize_irqs); /* also used by kexec */ void machine_shutdown(void) { +#ifdef CONFIG_FA_DUMP + /* + * if fadump is active, cleanup the fadump registration before we + * shutdown. + */ + fadump_cleanup(); +#endif + if (ppc_md.machine_shutdown) ppc_md.machine_shutdown(); }