PERFORCE change 28506 for review

Peter Wemm peter at FreeBSD.org
Tue Apr 8 01:53:52 PDT 2003


http://perforce.freebsd.org/chv.cgi?CH=28506

Change 28506 by peter at peter_daintree on 2003/04/08 01:53:18

	cpu_throw is new-style

Affected files ...

.. //depot/projects/hammer/sys/kern/kern_thr.c#2 edit
.. //depot/projects/hammer/sys/kern/kern_thread.c#16 edit

Differences ...

==== //depot/projects/hammer/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(__x86_64__)
 	cpu_throw(td, choosethread());
 #else
 	cpu_throw();

==== //depot/projects/hammer/sys/kern/kern_thread.c#16 (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(__x86_64__)
 	cpu_throw(td, choosethread());
 #else
 	cpu_throw();


More information about the p4-projects mailing list