summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbenno <benno@FreeBSD.org>2002-05-28 12:28:22 +0000
committerbenno <benno@FreeBSD.org>2002-05-28 12:28:22 +0000
commitae97f0c60a80286ee1cb2dd776ff89e8d2bdb0db (patch)
tree7247b0dbaef32e46877d493c2223665537a104aa
parent4fc9c21665166e4e9e124c40462138c91f084a0c (diff)
downloadFreeBSD-src-ae97f0c60a80286ee1cb2dd776ff89e8d2bdb0db.zip
FreeBSD-src-ae97f0c60a80286ee1cb2dd776ff89e8d2bdb0db.tar.gz
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.
-rw-r--r--sys/powerpc/aim/trap.c2
-rw-r--r--sys/powerpc/powerpc/trap.c2
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);
OpenPOWER on IntegriCloud