From: "Jan Beulich" Subject: [PATCH] i386 linux: fix VM86 code with CONFIG_PREEMPT Date: Fri, 02 Jun 2006 14:12:51 +0200 Message-ID: <44804763.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__PartD4F11D53.0__=" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__PartD4F11D53.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Apparently not having been noticed when CONFIG_X86_NO_TSS was introduced... Signed-off-by: Jan Beulich --=__PartD4F11D53.0__= Content-Type: text/plain; name="xenlinux-i386-vm86-put-cpu.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="xenlinux-i386-vm86-put-cpu.patch" Index: head-2006-05-26/arch/i386/kernel/vm86.c =================================================================== --- head-2006-05-26.orig/arch/i386/kernel/vm86.c 2006-05-26 11:53:58.000000000 +0200 +++ head-2006-05-26/arch/i386/kernel/vm86.c 2006-06-02 14:01:41.000000000 +0200 @@ -310,7 +310,9 @@ static void do_sys_vm86(struct kernel_vm 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) --=__PartD4F11D53.0__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=__PartD4F11D53.0__=--