From ae97f0c60a80286ee1cb2dd776ff89e8d2bdb0db Mon Sep 17 00:00:00 2001 From: benno Date: Tue, 28 May 2002 12:28:22 +0000 Subject: 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. --- sys/powerpc/aim/trap.c | 2 -- sys/powerpc/powerpc/trap.c | 2 -- 2 files changed, 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); -- cgit v1.1