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:
parent
4fc9c21665
commit
ae97f0c60a
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user