summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorHuang Ying <ying.huang@intel.com>2011-07-14 09:34:37 +0800
committerIngo Molnar <mingo@elte.hu>2011-07-21 11:19:28 +0200
commit050438ed5a05b25cdf287f5691e56a58c2606997 (patch)
tree318f9566ba9b060dc61459f12a8fd4f5d9e8c4e4 /Documentation
parentcf6ace16a3cd8b728fb0afa68368fd40bbeae19f (diff)
downloadlinux-050438ed5a05b25cdf287f5691e56a58c2606997.tar.gz
linux-050438ed5a05b25cdf287f5691e56a58c2606997.tar.bz2
linux-050438ed5a05b25cdf287f5691e56a58c2606997.zip
kexec, x86: Fix incorrect jump back address if not preserving context
In kexec jump support, jump back address passed to the kexeced kernel via function calling ABI, that is, the function call return address is the jump back entry. Furthermore, jump back entry == 0 should be used to signal that the jump back or preserve context is not enabled in the original kernel. But in the current implementation the stack position used for function call return address is not cleared context preservation is disabled. The patch fixes this bug. Reported-and-tested-by: Yin Kangkai <kangkai.yin@intel.com> Signed-off-by: Huang Ying <ying.huang@intel.com> Cc: Eric W. Biederman <ebiederm@xmission.com> Cc: Vivek Goyal <vgoyal@redhat.com> Cc: <stable@kernel.org> Link: http://lkml.kernel.org/r/1310607277-25029-1-git-send-email-ying.huang@intel.com Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions