Subject: CVS commit: src/sys/arch/xen/i386
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 01/03/2006 20:18:51
Module Name:	src
Committed By:	bouyer
Date:		Tue Jan  3 20:18:51 UTC 2006

Modified Files:
	src/sys/arch/xen/i386: npx.c

Log Message:
Make stts a no-op as clts already is
Always call HYPERVISOR_fpu_taskswitch() at the end of npxsave_lwp().

This fixes the FPU problems detected by paranoia on a NetBSD/Xen guest.
Based on patch sent by Paul Ripke on port-xen, but reworked by me.
Should fix port-xen/30977.


To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 src/sys/arch/xen/i386/npx.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.