mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
x86/entry: Fix build with older toolchains
Binutils older than 2.29 doesn't know INCSSPD. Fixes:8e186f98ce("x86: Use indirect calls in reset-stack infrastructure") Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org> (cherry picked from commita9fa825008)
This commit is contained in:
1 parent
4b33780de7
commit
150f6cdbfe
1 file changed
+2
@@ -643,7 +643,9 @@ ENTRY(continue_pv_domain)
|
||||
* JMPed to. Drop the return address.
|
||||
*/
|
||||
add $8, %rsp
|
||||
#ifdef CONFIG_XEN_SHSTK
|
||||
ALTERNATIVE "", "mov $2, %eax; incsspd %eax", X86_FEATURE_XEN_SHSTK
|
||||
#endif
|
||||
|
||||
call check_wakeup_from_wait
|
||||
ret_from_intr:
|
||||
|
||||