summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_thr.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_thr.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_thr.c')
-rw-r--r--sys/kern/kern_thr.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/kern/kern_thr.c b/sys/kern/kern_thr.c
index 4cb4df4..eef25ac 100644
--- a/sys/kern/kern_thr.c
+++ b/sys/kern/kern_thr.c
@@ -111,11 +111,7 @@ thr_exit1(void)
sched_exit_thread(TAILQ_NEXT(td, td_kglist), td);
thread_stash(td);
-#if !defined(__powerpc__)
cpu_throw(td, choosethread());
-#else
- cpu_throw();
-#endif
}
#define RANGEOF(type, start, end) (offsetof(type, end) - offsetof(type, start))
OpenPOWER on IntegriCloud