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
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to