diff options
author | grehan <grehan@FreeBSD.org> | 2003-08-14 03:56:24 +0000 |
---|---|---|
committer | grehan <grehan@FreeBSD.org> | 2003-08-14 03:56:24 +0000 |
commit | e6a3a6744e57438f2763932260c770036f4119be (patch) | |
tree | 887c4c2e54678a6aa7dbf858b636ef6f69ab1870 /sys/kern/kern_thread.c | |
parent | 52d14db571f7adb4f8901fe88346f5dea10ac336 (diff) | |
download | FreeBSD-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_thread.c')
-rw-r--r-- | sys/kern/kern_thread.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/kern/kern_thread.c b/sys/kern/kern_thread.c index a5a294d..2f93b1e 100644 --- a/sys/kern/kern_thread.c +++ b/sys/kern/kern_thread.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 */ } |