cvs commit: src/sys/ia64/ia64 trap.c
Marcel Moolenaar
marcel at FreeBSD.org
Thu May 6 22:35:32 PDT 2004
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
More information about the cvs-src
mailing list