summaryrefslogtreecommitdiffstats
path: root/sys/powerpc
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2004-08-31 06:12:13 +0000
committerjulian <julian@FreeBSD.org>2004-08-31 06:12:13 +0000
commitee753ed190029f2bb1071fa1905073ad15121ae5 (patch)
treedddf557370c3f26fcb7ce5b74984fd362556bf89 /sys/powerpc
parentd3a487d5866b728b29cf8da175a0ceae5e01eb2f (diff)
downloadFreeBSD-src-ee753ed190029f2bb1071fa1905073ad15121ae5.zip
FreeBSD-src-ee753ed190029f2bb1071fa1905073ad15121ae5.tar.gz
Remove sched_free_thread() which was only used
in diagnostics. It has outlived its usefulness and has started causing panics for people who turn on DIAGNOSTIC, in what is otherwise good code. MFC after: 2 days
Diffstat (limited to 'sys/powerpc')
-rw-r--r--sys/powerpc/aim/trap.c3
-rw-r--r--sys/powerpc/powerpc/trap.c3
2 files changed, 0 insertions, 6 deletions
diff --git a/sys/powerpc/aim/trap.c b/sys/powerpc/aim/trap.c
index 2b4a749..52e2a69 100644
--- a/sys/powerpc/aim/trap.c
+++ b/sys/powerpc/aim/trap.c
@@ -256,9 +256,6 @@ trap(struct trapframe *frame)
userret(td, frame, sticks);
mtx_assert(&Giant, MA_NOTOWNED);
-#ifdef DIAGNOSTIC
- cred_free_thread(td);
-#endif /* DIAGNOSTIC */
}
static void
diff --git a/sys/powerpc/powerpc/trap.c b/sys/powerpc/powerpc/trap.c
index 2b4a749..52e2a69 100644
--- a/sys/powerpc/powerpc/trap.c
+++ b/sys/powerpc/powerpc/trap.c
@@ -256,9 +256,6 @@ trap(struct trapframe *frame)
userret(td, frame, sticks);
mtx_assert(&Giant, MA_NOTOWNED);
-#ifdef DIAGNOSTIC
- cred_free_thread(td);
-#endif /* DIAGNOSTIC */
}
static void
OpenPOWER on IntegriCloud