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
60ead00ef8
commit
3cdee89f99
@ -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