x86: remove redundant XEN_SHSTK check from reinit_bsp_stack()

As of 72d51813d6 ("x86: amend cpu_has_xen_{ibt,shstk}") this has been
integrated into cpu_has_xen_shstk.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
This commit is contained in:
Jan Beulich committed 2024-02-29 08:20:46 +01:00
1 parent b36d850c22
commit c103bb8ad4
1 file changed
+1 -1
+1 -1
View File
@@ -810,7 +810,7 @@ static void __init noreturn reinit_bsp_stack(void)
if ( rc )
panic("Error %d setting up PV root page table\n", rc);
if ( IS_ENABLED(CONFIG_XEN_SHSTK) && cpu_has_xen_shstk )
if ( cpu_has_xen_shstk )
{
wrmsrl(MSR_PL0_SSP,
(unsigned long)stack + (PRIMARY_SHSTK_SLOT + 1) * PAGE_SIZE - 8);
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.