powerpc/kexec: make masking/disabling interrupts generic
authorMatthew McClintock <msm@freescale.com>
Thu, 16 Sep 2010 22:58:23 +0000 (17:58 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 14 Oct 2010 05:52:46 +0000 (00:52 -0500)
commitc71635d288ffd3bcdfb30308f681f9af34f0fc81
treef3bbfcb3c81b85bf3dc228a7685d093a5ac2760d
parentfbdd7144ceadd578bc2a875af1dabd67e80ba0d0
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>
arch/powerpc/include/asm/kexec.h
arch/powerpc/kernel/crash.c
arch/powerpc/kernel/machine_kexec.c
arch/powerpc/kernel/machine_kexec_32.c