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();
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"