[PATCH V2] kexec, x86: fix kexec when boot_params.hardware_subarch != 0
horms at verge.net.au
Mon Mar 28 18:19:04 EDT 2011
On Mon, Mar 28, 2011 at 02:50:11PM -0700, Chris Leech wrote:
> kexec needs to keep the subarch setting the same as the running kernel
> in the boot parameters, or the kernel will die in early setup. I ran
> into this with X86_SUBARCH_MRST, but it should apply to CE4100 and any
> future subarch that uses non-default early setup code.
> This patch requires debugfs mounted at /sys/kernel/debug, as that's
> the only way I know of to get at the running kernels boot_params.
> Without debugfs mounted it falls back to the current behavior of
> assuming subarch 0.
More information about the kexec