powerpc/kexec: Disable hard IRQ before kexec
authorPhileas Fogg <phileas-fogg@mail.ru>
Fri, 22 Feb 2013 23:32:19 +0000 (00:32 +0100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sat, 23 Feb 2013 16:49:28 +0000 (03:49 +1100)
commit8520e443aa56cc157b015205ea53e7b9fc831291
tree8458559715449fbd77e09c1f52954602e944e49a
parentdffff02a6b10f25f879e1e523733770c0a492e76
powerpc/kexec: Disable hard IRQ before kexec

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>
CC: <stable@vger.kernel.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/machine_kexec_64.c