powerpc/kexec: Disable hard IRQ before kexec
authorPhileas Fogg <phileas-fogg@mail.ru>
Fri, 22 Feb 2013 23:32:19 +0000 (00:32 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Feb 2013 14:32:26 +0000 (06:32 -0800)
commit534aaed9080ba82974e8d2a71e43a362918138f8
tree5402b377717231a339bb913f96e9fac3b0c1d11d
parent928de5bcadf8540f58ba6b12c6b7547d33dcde89
powerpc/kexec: Disable hard IRQ before kexec

commit 8520e443aa56cc157b015205ea53e7b9fc831291 upstream.

Disable hard IRQ before kexec a new kernel image.
Not doing it can result in corrupted data in the memory segments
reserved for the new kernel.

Signed-off-by: Phileas Fogg <phileas-fogg@mail.ru>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/kernel/machine_kexec_64.c