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>
This commit is contained in:
1 parent
d5887c0dec
commit
a9fa825008
1 file changed
+2
@@ -650,7 +650,9 @@ FUNC(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:
|
||||
|
||||