diff options
Diffstat (limited to 'sys/powerpc')
-rw-r--r-- | sys/powerpc/aim/trap.c | 2 | ||||
-rw-r--r-- | sys/powerpc/powerpc/trap.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/sys/powerpc/aim/trap.c b/sys/powerpc/aim/trap.c index b037185..c6c99db 100644 --- a/sys/powerpc/aim/trap.c +++ b/sys/powerpc/aim/trap.c @@ -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); diff --git a/sys/powerpc/powerpc/trap.c b/sys/powerpc/powerpc/trap.c index b037185..c6c99db 100644 --- a/sys/powerpc/powerpc/trap.c +++ b/sys/powerpc/powerpc/trap.c @@ -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); |