Author: nwhitehorn
Date: Sun May 29 22:37:23 2011
New Revision: 222469
URL: http://svn.freebsd.org/changeset/base/222469

Log:
  Use kproc_exit() instead of returning from the management function on
  systems with no manageable thermal control devices.

Modified:
  head/sys/powerpc/powermac/powermac_thermal.c

Modified: head/sys/powerpc/powermac/powermac_thermal.c
==============================================================================
--- head/sys/powerpc/powermac/powermac_thermal.c        Sun May 29 21:24:20 
2011        (r222468)
+++ head/sys/powerpc/powermac/powermac_thermal.c        Sun May 29 22:37:23 
2011        (r222469)
@@ -79,7 +79,7 @@ fan_management_proc(void)
 {
        /* Nothing to manage? */
        if (SLIST_EMPTY(&fans))
-               return;
+               kproc_exit(0);
        
        while (1) {
                pmac_therm_manage_fans();
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to