]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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:59:04 +0000 (06:59 -0800)
commit25c3a0840c99270041487907b6365cb5bfc8a03f
tree41ec36436d91aba18a591b87c61f8d8a8045fbcb
parent27c303244ef8049be6fd8088230c7f5e02a522b3
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