Subject: CVS commit: src/sys/arch/powerpc/include
To: None <source-changes@NetBSD.org>
From: Matt Thomas <matt@netbsd.org>
List: source-changes
Date: 04/04/2004 16:47:02
Module Name:	src
Committed By:	matt
Date:		Sun Apr  4 16:47:02 UTC 2004

Modified Files:
	src/sys/arch/powerpc/include: userret.h

Log Message:
When returning back to user mode, if the lwp has lost the FPU, not only
clear PSL_FP bit (to force a FPU Unavailable exception) but clear
PSL_FE0 and PSL_FE1 so that the FP execption mode is changes to ignore.
This will prevent spurious FP exceptions being made when the running lwp
doesn't own the FPU.


To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 src/sys/arch/powerpc/include/userret.h

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