]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - arch/x86/xen/enlighten_pv.c
x86/entry/64: Make cpu_entry_area.tss read-only
[mirror_ubuntu-jammy-kernel.git] / arch / x86 / xen / enlighten_pv.c
index fbd054d6ac973d8402146c799c2fece6432e54e7..ae3a071e1d0f4e5576b1f2184e0255a375676528 100644 (file)
@@ -818,7 +818,7 @@ static void xen_load_sp0(unsigned long sp0)
        mcs = xen_mc_entry(0);
        MULTI_stack_switch(mcs.mc, __KERNEL_DS, sp0);
        xen_mc_issue(PARAVIRT_LAZY_CPU);
-       this_cpu_write(cpu_tss.x86_tss.sp0, sp0);
+       this_cpu_write(cpu_tss_rw.x86_tss.sp0, sp0);
 }
 
 void xen_set_iopl_mask(unsigned mask)