rpms/kernel/F-8 linux-2.6-acpi-processor-use-signed-int.patch, NONE, 1.1 kernel.spec, 1.512, 1.513
Chuck Ebbert (cebbert)
fedora-extras-commits at redhat.com
Tue Aug 12 22:48:54 UTC 2008
- Previous message: rpms/gsynaptics/F-9 gsynaptics-0.9.14-do-not-set-zero.patch, NONE, 1.1 gsynaptics-0.9.14-dot-fixes.patch, NONE, 1.1 gsynaptics-0.9.14-pixmap.patch, NONE, 1.1 gsynaptics.spec, 1.17, 1.18
- Next message: rpms/python-pp/EL-5 .cvsignore, 1.4, 1.5 python-pp.spec, 1.3, 1.4 sources, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: cebbert
Update of /cvs/pkgs/rpms/kernel/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23233
Modified Files:
kernel.spec
Added Files:
linux-2.6-acpi-processor-use-signed-int.patch
Log Message:
Fix obvious bug in ACPI processor driver
linux-2.6-acpi-processor-use-signed-int.patch:
--- NEW FILE linux-2.6-acpi-processor-use-signed-int.patch ---
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>
---
===================================================================
--- linux-2.6.26.y.orig/drivers/acpi/processor_perflib.c 2008-08-12 17:20:07.000000000 +0200
+++ linux-2.6.26.y/drivers/acpi/processor_perflib.c 2008-08-12 17:35:53.000000000 +0200
@@ -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");
Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-8/kernel.spec,v
retrieving revision 1.512
retrieving revision 1.513
diff -u -r1.512 -r1.513
--- kernel.spec 9 Aug 2008 07:07:04 -0000 1.512
+++ kernel.spec 12 Aug 2008 22:48:24 -0000 1.513
@@ -645,6 +645,7 @@
Patch727: linux-2.6-e1000-ich9.patch
#ACPI
+Patch800: linux-2.6-acpi-processor-use-signed-int.patch
Patch1101: linux-2.6-default-mmf_dump_elf_headers.patch
@@ -1138,6 +1139,8 @@
ApplyPatch linux-2.6-netdev-atl1e.patch
# ACPI/PM patches
+# fix obvious thinko
+ApplyPatch linux-2.6-acpi-processor-use-signed-int.patch
# dm / md
@@ -1761,6 +1764,9 @@
%changelog
+* Tue Aug 12 2008 Chuck Ebbert <cebbert at redhat.com> 2.6.26.2-3
+- Fix obvious bug in ACPI processor driver.
+
* Sat Aug 09 2008 Dave Airlie <airlied at redhat.com>
- make nouveau drm apply again
- Previous message: rpms/gsynaptics/F-9 gsynaptics-0.9.14-do-not-set-zero.patch, NONE, 1.1 gsynaptics-0.9.14-dot-fixes.patch, NONE, 1.1 gsynaptics-0.9.14-pixmap.patch, NONE, 1.1 gsynaptics.spec, 1.17, 1.18
- Next message: rpms/python-pp/EL-5 .cvsignore, 1.4, 1.5 python-pp.spec, 1.3, 1.4 sources, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list