rpms/kernel/F-8 linux-2.6-acpi-fix-sizeof.patch, NONE, 1.1 kernel.spec, 1.389, 1.390

Chuck Ebbert (cebbert) fedora-extras-commits at redhat.com
Tue Mar 18 23:44:26 UTC 2008


Author: cebbert

Update of /cvs/pkgs/rpms/kernel/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4518

Modified Files:
	kernel.spec 
Added Files:
	linux-2.6-acpi-fix-sizeof.patch 
Log Message:
* Tue Mar 18 2008 Chuck Ebbert <cebbert at redhat.com> 2.6.24.3-44
- Fix spurious ACPI thermal trips (#437466)


linux-2.6-acpi-fix-sizeof.patch:

--- NEW FILE linux-2.6-acpi-fix-sizeof.patch ---
http://bugzilla.kernel.org/show_bug.cgi?id=9558#c33
http://bugzilla.kernel.org/show_bug.cgi?id=10245#c2
https://bugzilla.redhat.com/show_bug.cgi?id=437466

diff --git a/drivers/acpi/executer/exoparg1.c b/drivers/acpi/executer/exoparg1.c
index 252f10a..fed6ddf 100644
--- a/drivers/acpi/executer/exoparg1.c
+++ b/drivers/acpi/executer/exoparg1.c
@@ -740,6 +740,9 @@ acpi_status acpi_ex_opcode_1A_0T_1R(struct acpi_walk_state *walk_state)
 			break;
 
 		case ACPI_TYPE_BUFFER:
+			if (!(temp_desc->common.flags & AOPOBJ_DATA_VALID)) {
+				status = acpi_ds_get_buffer_arguments (temp_desc);
+			}
 			value = temp_desc->buffer.length;
 			break;
 
@@ -748,6 +751,9 @@ acpi_status acpi_ex_opcode_1A_0T_1R(struct acpi_walk_state *walk_state)
 			break;
 
 		case ACPI_TYPE_PACKAGE:
+			if (!(temp_desc->common.flags & AOPOBJ_DATA_VALID)) {
+				status = acpi_ds_get_package_arguments (temp_desc);
+			}
 			value = temp_desc->package.count;
 			break;
 


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-8/kernel.spec,v
retrieving revision 1.389
retrieving revision 1.390
diff -u -r1.389 -r1.390
--- kernel.spec	18 Mar 2008 19:10:23 -0000	1.389
+++ kernel.spec	18 Mar 2008 23:43:36 -0000	1.390
@@ -679,6 +679,7 @@
 Patch761: linux-2.6-acpi-video-backlight-rationalize.patch
 #Patch763: linux-2.6-acpi-video-fix-multiple-busses.patch
 Patch767: linux-2.6-acpi_ec_early_init_fix.patch
+Patch768: linux-2.6-acpi-fix-sizeof.patch
 Patch784: linux-2.6-acpi-eeepc-hotkey.patch
 
 Patch820: linux-2.6-compile-fixes.patch
@@ -1263,6 +1264,8 @@
 #ApplyPatch linux-2.6-acpi-video-fix-multiple-busses.patch
 # revert EC change in 2.6.24 that broke some notebooks (#432477)
 ApplyPatch linux-2.6-acpi_ec_early_init_fix.patch -R
+# acpi has a bug in the sizeof function causing thermal panics
+ApplyPatch linux-2.6-acpi-fix-sizeof.patch
 # Eeepc hotkey driver
 ApplyPatch linux-2.6-acpi-eeepc-hotkey.patch
 
@@ -1920,6 +1923,9 @@
 
 
 %changelog
+* Tue Mar 18 2008 Chuck Ebbert <cebbert at redhat.com> 2.6.24.3-44
+- Fix spurious ACPI thermal trips (#437466)
+
 * Tue Mar 18 2008 Chuck Ebbert <cebbert at redhat.com> 2.6.24.3-43
 - Revert the ACPI multiple-busses patch that causes problems for some people.
 - Set CONFIG_SYSFS_DEPRECATED, fixing network device naming bugs. (#436583)




More information about the fedora-extras-commits mailing list