summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_kse.c
diff options
context:
space:
mode:
authorgrehan <grehan@FreeBSD.org>2003-08-14 03:56:24 +0000
committergrehan <grehan@FreeBSD.org>2003-08-14 03:56:24 +0000
commite6a3a6744e57438f2763932260c770036f4119be (patch)
tree887c4c2e54678a6aa7dbf858b636ef6f69ab1870 /sys/kern/kern_kse.c
parent52d14db571f7adb4f8901fe88346f5dea10ac336 (diff)
downloadFreeBSD-src-e6a3a6744e57438f2763932260c770036f4119be.zip
FreeBSD-src-e6a3a6744e57438f2763932260c770036f4119be.tar.gz
Update powerpc to use the (old thread,new thread) calling convention
for cpu_throw() and cpu_switch().
Diffstat (limited to 'sys/kern/kern_kse.c')
-rw-r--r--sys/kern/kern_kse.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/kern/kern_kse.c b/sys/kern/kern_kse.c
index a5a294d..2f93b1e 100644
--- a/sys/kern/kern_kse.c
+++ b/sys/kern/kern_kse.c
@@ -1289,11 +1289,7 @@ thread_exit(void)
}
/* XXX Shouldn't cpu_throw() here. */
mtx_assert(&sched_lock, MA_OWNED);
-#if !defined(__powerpc__)
cpu_throw(td, choosethread());
-#else
- cpu_throw();
-#endif
panic("I'm a teapot!");
/* NOTREACHED */
}
OpenPOWER on IntegriCloud