Remove an assertion as to whether the current thread already had the FPU or

not.  It may be desirable to put something similar back, but it's getting in
the way in it's current form.
This commit is contained in:
benno 2002-05-28 12:28:22 +00:00
parent 4fc9c21665
commit ae97f0c60a
2 changed files with 0 additions and 4 deletions

View File

@ -191,8 +191,6 @@ trap(struct trapframe *frame)
case EXC_FPU:
if ((fputhread = PCPU_GET(fputhread)) != NULL) {
KASSERT(fputhread != td,
("floating-point already enabled"));
save_fpu(fputhread);
}
PCPU_SET(fputhread, td);

View File

@ -191,8 +191,6 @@ trap(struct trapframe *frame)
case EXC_FPU:
if ((fputhread = PCPU_GET(fputhread)) != NULL) {
KASSERT(fputhread != td,
("floating-point already enabled"));
save_fpu(fputhread);
}
PCPU_SET(fputhread, td);