summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_thr.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2003-08-12 19:33:36 +0000
committerjhb <jhb@FreeBSD.org>2003-08-12 19:33:36 +0000
commit1c016824f155ae85ec1c6dd307a32cabdc234ddd (patch)
treef34ee929d8203238056fb038fb006518180967b2 /sys/kern/kern_thr.c
parent4e0802ee6605a319fd2ddcbc847b184f1b5e9680 (diff)
downloadFreeBSD-src-1c016824f155ae85ec1c6dd307a32cabdc234ddd.zip
FreeBSD-src-1c016824f155ae85ec1c6dd307a32cabdc234ddd.tar.gz
- Convert Alpha over to the new calling conventions for cpu_throw() and
cpu_switch() where both the old and new threads are passed in as arguments. Only powerpc uses the old conventions now. - Update comments in the Alpha swtch.s to reflect KSE changes. Tested by: obrien, marcel
Diffstat (limited to 'sys/kern/kern_thr.c')
-rw-r--r--sys/kern/kern_thr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_thr.c b/sys/kern/kern_thr.c
index 9f24057..4cb4df4 100644
--- a/sys/kern/kern_thr.c
+++ b/sys/kern/kern_thr.c
@@ -111,7 +111,7 @@ thr_exit1(void)
sched_exit_thread(TAILQ_NEXT(td, td_kglist), td);
thread_stash(td);
-#if !defined(__alpha__) && !defined(__powerpc__)
+#if !defined(__powerpc__)
cpu_throw(td, choosethread());
#else
cpu_throw();
OpenPOWER on IntegriCloud