summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/kexec.h
diff options
context:
space:
mode:
authorMatthew McClintock <msm@freescale.com>2010-09-17 00:58:23 +0200
committerKumar Gala <galak@kernel.crashing.org>2010-10-14 07:52:46 +0200
commitc71635d288ffd3bcdfb30308f681f9af34f0fc81 (patch)
treef3bbfcb3c81b85bf3dc228a7685d093a5ac2760d /arch/powerpc/include/asm/kexec.h
parentpowerpc/watchdog: Allow the Book-E driver to be compiled as a module (diff)
downloadlinux-c71635d288ffd3bcdfb30308f681f9af34f0fc81.tar.xz
linux-c71635d288ffd3bcdfb30308f681f9af34f0fc81.zip
powerpc/kexec: make masking/disabling interrupts generic
Right now just the kexec crash pathway turns turns off the interrupts. Pull that out and make a generic version for use elsewhere Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/kexec.h')
-rw-r--r--arch/powerpc/include/asm/kexec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/kexec.h b/arch/powerpc/include/asm/kexec.h
index 076327f2eff7..f54408d995b5 100644
--- a/arch/powerpc/include/asm/kexec.h
+++ b/arch/powerpc/include/asm/kexec.h
@@ -91,6 +91,7 @@ extern void machine_kexec_simple(struct kimage *image);
extern void crash_kexec_secondary(struct pt_regs *regs);
extern int overlaps_crashkernel(unsigned long start, unsigned long size);
extern void reserve_crashkernel(void);
+extern void machine_kexec_mask_interrupts(void);
#else /* !CONFIG_KEXEC */
static inline int kexec_sr_activated(int cpu) { return 0; }