svn commit: r212456 - head/sys/sparc64/sparc64

Alexander Motin mav at FreeBSD.org
Sat Sep 11 07:24:10 UTC 2010


Author: mav
Date: Sat Sep 11 07:24:10 2010
New Revision: 212456
URL: http://svn.freebsd.org/changeset/base/212456

Log:
  Sparc64 uses dummy cpu_idle() method. It's CPUs never sleeping. Tell
  scheduler that it doesn't need to use IPI to "wake up" CPU.

Modified:
  head/sys/sparc64/sparc64/machdep.c

Modified: head/sys/sparc64/sparc64/machdep.c
==============================================================================
--- head/sys/sparc64/sparc64/machdep.c	Sat Sep 11 07:08:22 2010	(r212455)
+++ head/sys/sparc64/sparc64/machdep.c	Sat Sep 11 07:24:10 2010	(r212456)
@@ -959,7 +959,7 @@ int
 cpu_idle_wakeup(int cpu)
 {
 
-	return (0);
+	return (1);
 }
 
 int


More information about the svn-src-all mailing list