[kernel] r12106 - in dists/sid/linux-2.6/debian: . patches/bugfix/all patches/series

Maximilian Attems maks at alioth.debian.org
Wed Aug 20 09:01:46 UTC 2008


Author: maks
Date: Wed Aug 20 09:01:45 2008
New Revision: 12106

Log:
x86 add patch for thinkpads

thanks Henrique de Moraes Holschuh <hmh at debian.org> for the pointer

Added:
   dists/sid/linux-2.6/debian/patches/bugfix/all/acpi-fix-thermal-shutdowns-x60.patch
   dists/sid/linux-2.6/debian/patches/series/4
Modified:
   dists/sid/linux-2.6/debian/changelog

Modified: dists/sid/linux-2.6/debian/changelog
==============================================================================
--- dists/sid/linux-2.6/debian/changelog	(original)
+++ dists/sid/linux-2.6/debian/changelog	Wed Aug 20 09:01:45 2008
@@ -2,6 +2,7 @@
 
   * x86: Reset ACPI_PROCFS_POWER for Lenny as buggy apps depend on it.
     (closes: #495541)
+  * x86: ACPI: Fix thermal shutdowns
 
  -- maximilian attems <maks at debian.org>  Tue, 19 Aug 2008 10:53:45 +0200
 

Added: dists/sid/linux-2.6/debian/patches/bugfix/all/acpi-fix-thermal-shutdowns-x60.patch
==============================================================================
--- (empty file)
+++ dists/sid/linux-2.6/debian/patches/bugfix/all/acpi-fix-thermal-shutdowns-x60.patch	Wed Aug 20 09:01:45 2008
@@ -0,0 +1,31 @@
+commit 9f497bcc695fb828da023d74ad3c966b1e58ad21
+Author: Milan Broz <mbroz at redhat.com>
+Date:   Tue Aug 12 17:48:27 2008 +0200
+
+    ACPI: Fix thermal shutdowns
+    
+    Do not use unsigned int if there is test for negative number...
+    
+    See drivers/acpi/processor_perflib.c
+      static unsigned int ignore_ppc = -1;
+    ...
+      if (event == CPUFREQ_START && ignore_ppc <= 0) {
+           ignore_ppc = 0;
+    ...
+    
+    Signed-off-by: Milan Broz <mbroz at redhat.com>
+    Signed-off-by: Andi Kleen <ak at linux.intel.com>
+
+diff --git a/drivers/acpi/processor_perflib.c b/drivers/acpi/processor_perflib.c
+index 0133af4..80e3209 100644
+--- a/drivers/acpi/processor_perflib.c
++++ b/drivers/acpi/processor_perflib.c
+@@ -70,7 +70,7 @@ static DEFINE_MUTEX(performance_mutex);
+  *  0 -> cpufreq low level drivers initialized -> consider _PPC values
+  *  1 -> ignore _PPC totally -> forced by user through boot param
+  */
+-static unsigned int ignore_ppc = -1;
++static int ignore_ppc = -1;
+ module_param(ignore_ppc, uint, 0644);
+ MODULE_PARM_DESC(ignore_ppc, "If the frequency of your machine gets wrongly" \
+ 		 "limited by BIOS, this should help");

Added: dists/sid/linux-2.6/debian/patches/series/4
==============================================================================
--- (empty file)
+++ dists/sid/linux-2.6/debian/patches/series/4	Wed Aug 20 09:01:45 2008
@@ -0,0 +1 @@
++ bugfix/all/acpi-fix-thermal-shutdowns-x60.patch



More information about the Kernel-svn-changes mailing list