Date: Thu, 6 May 2004 22:35:31 -0700 (PDT) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ia64/ia64 trap.c Message-ID: <200405070535.i475ZV77021514@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2004/05/06 22:35:31 PDT
FreeBSD src repository
Modified files:
sys/ia64/ia64 trap.c
Log:
Revert previous commit. We should not get any FP traps from within
the kernel. We can guarantee this by resetting the FP status register.
This masks all FP traps. The reason we did get FP traps was that we
didn't reset the FP status register in all cases.
Make sure to reset the FP status register in syscall(). This is one of
the places where it was forgotten.
While on the subject, reset the FP status register only when we trapped
from user space.
Revision Changes Path
1.99 +15 -18 src/sys/ia64/ia64/trap.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405070535.i475ZV77021514>
