summaryrefslogtreecommitdiff
path: root/purgatory
diff options
context:
space:
mode:
authorChris Leech <christopher.leech@linux.intel.com>2011-03-28 14:50:11 -0700
committerSimon Horman <horms@verge.net.au>2011-03-29 06:55:50 +0900
commit42409b35bef90eed023f783ecffb9004f78b69fa (patch)
tree09b77fe68979fbb5949f369a7d9524f6ef10b869 /purgatory
parent0e5e00632f5f6f164d1d6fbdaaff5ea3973917e5 (diff)
kexec, x86: fix kexec when boot_params.hardware_subarch != 0
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. Signed-off-by: Chris Leech <christopher.leech@linux.intel.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'purgatory')
0 files changed, 0 insertions, 0 deletions