rpms/kernel/F-9 linux-2.6-acpi-processor-use-signed-int.patch, NONE, 1.1 kernel.spec, 1.740, 1.741
Chuck Ebbert (cebbert)
fedora-extras-commits at redhat.com
Tue Aug 12 18:04:08 UTC 2008
- Previous message: rpms/wesnoth/devel .cvsignore, 1.27, 1.28 sources, 1.27, 1.28 wesnoth.spec, 1.53, 1.54
- Next message: rpms/eterm/devel .cvsignore, 1.2, 1.3 eterm.spec, 1.9, 1.10 sources, 1.2, 1.3 Eterm-0.9.4-CVE-2008-1692.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: cebbert
Update of /cvs/pkgs/rpms/kernel/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29613
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-9/kernel.spec,v
retrieving revision 1.740
retrieving revision 1.741
diff -u -r1.740 -r1.741
--- kernel.spec 9 Aug 2008 21:35:42 -0000 1.740
+++ kernel.spec 12 Aug 2008 18:03:38 -0000 1.741
@@ -630,6 +630,8 @@
Patch700: linux-2.6-nfs-client-mounts-hang.patch
+Patch800: linux-2.6-acpi-processor-use-signed-int.patch
+
Patch1101: linux-2.6-default-mmf_dump_elf_headers.patch
Patch1400: linux-2.6-smarter-relatime.patch
Patch1515: linux-2.6-lirc.patch
@@ -1059,6 +1061,8 @@
ApplyPatch linux-2.6-usb-storage-nikond80-quirk.patch
# ACPI
+# obvious bug in processor driver
+ApplyPatch linux-2.6-acpi-processor-use-signed-int.patch
# Various low-impact patches to aid debugging.
ApplyPatch linux-2.6-debug-sizeof-structs.patch
@@ -1773,6 +1777,9 @@
%kernel_variant_files -a /%{image_install_path}/xen*-%{KVERREL}.xen -e /etc/ld.so.conf.d/kernelcap-%{KVERREL}.xen.conf %{with_xen} xen
%changelog
+* Sat Aug 09 2008 Chuck Ebbert <cebbert at redhat.com> 2.6.26.2-14
+- Fix obvious bug in ACPI processor driver.
+
* Sat Aug 09 2008 Chuck Ebbert <cebbert at redhat.com> 2.6.26.2-13
- Disable VIA Padlock driver for now; it can cause oopses.
- Previous message: rpms/wesnoth/devel .cvsignore, 1.27, 1.28 sources, 1.27, 1.28 wesnoth.spec, 1.53, 1.54
- Next message: rpms/eterm/devel .cvsignore, 1.2, 1.3 eterm.spec, 1.9, 1.10 sources, 1.2, 1.3 Eterm-0.9.4-CVE-2008-1692.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list