PERFORCE change 28274 for review
Marcel Moolenaar
marcel at FreeBSD.org
Sat Apr 5 16:07:21 PST 2003
http://perforce.freebsd.org/chv.cgi?CH=28274
Change 28274 by marcel at marcel_nfs on 2003/04/05 16:07:07
More defines needed for the new and improved cpu_switch() and
cpu_throw().
Affected files ...
.. //depot/projects/ia64_epc/sys/kern/kern_synch.c#8 edit
.. //depot/projects/ia64_epc/sys/kern/kern_thr.c#2 edit
.. //depot/projects/ia64_epc/sys/kern/kern_thread.c#7 edit
Differences ...
==== //depot/projects/ia64_epc/sys/kern/kern_synch.c#8 (text+ko) ====
@@ -456,7 +456,7 @@
{
struct bintime new_switchtime;
struct thread *td;
-#if defined(__i386__) || defined(__sparc64__)
+#if defined(__i386__) || defined(__sparc64__) || defined(__ia64__)
struct thread *newtd;
#endif
struct proc *p;
==== //depot/projects/ia64_epc/sys/kern/kern_thr.c#2 (text+ko) ====
@@ -106,7 +106,7 @@
td->td_last_kse = NULL;
thread_stash(td);
-#if defined(__i386__) || defined(__sparc64__)
+#if defined(__i386__) || defined(__sparc64__) || defined(__ia64__)
cpu_throw(td, choosethread());
#else
cpu_throw();
==== //depot/projects/ia64_epc/sys/kern/kern_thread.c#7 (text+ko) ====
@@ -1251,7 +1251,7 @@
}
/* XXX Shouldn't cpu_throw() here. */
mtx_assert(&sched_lock, MA_OWNED);
-#if defined(__i386__) || defined(__sparc64__)
+#if defined(__i386__) || defined(__sparc64__) || defined(__ia64__)
cpu_throw(td, choosethread());
#else
cpu_throw();
More information about the p4-projects
mailing list