summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_synch.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_synch.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_synch.c')
-rw-r--r--sys/kern/kern_synch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_synch.c b/sys/kern/kern_synch.c
index 384feea..7525f3a 100644
--- a/sys/kern/kern_synch.c
+++ b/sys/kern/kern_synch.c
@@ -459,7 +459,7 @@ mi_switch(void)
{
struct bintime new_switchtime;
struct thread *td;
-#if !defined(__alpha__) && !defined(__powerpc__)
+#if !defined(__powerpc__)
struct thread *newtd;
#endif
struct proc *p;
@@ -517,7 +517,7 @@ mi_switch(void)
thread_switchout(td);
sched_switchout(td);
-#if !defined(__alpha__) && !defined(__powerpc__)
+#if !defined(__powerpc__)
newtd = choosethread();
if (td != newtd)
cpu_switch(td, newtd); /* SHAZAM!! */
OpenPOWER on IntegriCloud