x86: replace reset_stack_and_jump_nolp()
authorJan Beulich <jbeulich@suse.com>
Tue, 15 Dec 2020 13:12:47 +0000 (14:12 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 15 Dec 2020 13:12:47 +0000 (14:12 +0100)
commitbfc99c310fb156a4f0cacfd17c216207db8044ca
treed3da4c8f12bbe0ccfc3268b286051108ca1a8ac4
parent13268c50c0ee6fe7ea1ccc69965ec48c49f317c1
x86: replace reset_stack_and_jump_nolp()

Move the necessary check into check_for_livepatch_work(), rather than
mostly duplicating reset_stack_and_jump() for this purpose. This is to
prevent an inflation of reset_stack_and_jump() flavors.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
master commit: e3df3fbc448b9ae401332ba7d71c190d2efe3ae8
master date: 2020-12-15 13:40:27 +0100
xen/arch/x86/domain.c
xen/arch/x86/hvm/svm/svm.c
xen/arch/x86/hvm/vmx/vmcs.c
xen/arch/x86/pv/domain.c
xen/arch/x86/setup.c
xen/common/livepatch.c
xen/include/asm-x86/current.h