SOURCES (LINUX_2_6_15): kernel-hotfixes.patch - use kernel_power_o...

sparky sparky at pld-linux.org
Tue Aug 8 18:13:46 CEST 2006


Author: sparky                       Date: Tue Aug  8 16:13:46 2006 GMT
Module: SOURCES                       Tag: LINUX_2_6_15
---- Log message:
- use kernel_power_off(); in therm_windfarm (machine_power_off is internal function)

---- Files affected:
SOURCES:
   kernel-hotfixes.patch (1.1.2.74.2.1 -> 1.1.2.74.2.2) 

---- Diffs:

================================================================
Index: SOURCES/kernel-hotfixes.patch
diff -u SOURCES/kernel-hotfixes.patch:1.1.2.74.2.1 SOURCES/kernel-hotfixes.patch:1.1.2.74.2.2
--- SOURCES/kernel-hotfixes.patch:1.1.2.74.2.1	Tue Aug  8 17:35:24 2006
+++ SOURCES/kernel-hotfixes.patch	Tue Aug  8 18:13:41 2006
@@ -124,3 +124,14 @@
  
  /* like kill_proc_info(), but doesn't use uid/euid of "current" */
  int kill_proc_info_as_uid(int sig, struct siginfo *info, pid_t pid,
+--- linux-2.6.15.7/drivers/macintosh/windfarm_core.c~	2006-03-28 07:06:28.000000000 +0000
++++ linux-2.6.15.7/drivers/macintosh/windfarm_core.c	2006-08-08 16:12:14.000000000 +0000
+@@ -100,7 +100,7 @@
+ 					printk(KERN_ERR "windfarm: Overtemp "
+ 					       "for more than 30"
+ 					       " seconds, shutting down\n");
+-					machine_power_off();
++					kernel_power_off();
+ 				}
+ 			}
+ 			next += HZ;
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/kernel-hotfixes.patch?r1=1.1.2.74.2.1&r2=1.1.2.74.2.2&f=u



More information about the pld-cvs-commit mailing list