mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
A few put_cpu() calls were missed when adding CONFIG_X86_NO_TSS.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
This commit is contained in:
1 parent
e16b4fa8fe
commit
dd9f789cb6
1 file changed
+4
@@ -132,7 +132,9 @@ struct pt_regs * fastcall save_v86_state(struct kernel_vm86_regs * regs)
|
||||
current->thread.sysenter_cs = __KERNEL_CS;
|
||||
load_esp0(tss, ¤t->thread);
|
||||
current->thread.saved_esp0 = 0;
|
||||
#ifndef CONFIG_X86_NO_TSS
|
||||
put_cpu();
|
||||
#endif
|
||||
|
||||
loadsegment(fs, current->thread.saved_fs);
|
||||
loadsegment(gs, current->thread.saved_gs);
|
||||
@@ -310,7 +312,9 @@ static void do_sys_vm86(struct kernel_vm86_struct *info, struct task_struct *tsk
|
||||
if (cpu_has_sep)
|
||||
tsk->thread.sysenter_cs = 0;
|
||||
load_esp0(tss, &tsk->thread);
|
||||
#ifndef CONFIG_X86_NO_TSS
|
||||
put_cpu();
|
||||
#endif
|
||||
|
||||
tsk->thread.screen_bitmap = info->screen_bitmap;
|
||||
if (info->flags & VM86_SCREEN_BITMAP)
|
||||
|
||||