patch-2.4.20 linux-2.4.20/drivers/acpi/events/evevent.c

Next file: linux-2.4.20/drivers/acpi/executer/exstore.c
Previous file: linux-2.4.20/drivers/acpi/dispatcher/dswexec.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/drivers/acpi/events/evevent.c linux-2.4.20/drivers/acpi/events/evevent.c
@@ -683,7 +683,7 @@
 acpi_ev_asynch_execute_gpe_method (
 	void                    *context)
 {
-	u32                     gpe_number = (u32) context;
+	unsigned long           gpe_number = (unsigned long) context;
 	acpi_gpe_level_info     gpe_info;
 
 
@@ -800,7 +800,7 @@
 	 */
 	else if (gpe_info.method_handle) {
 		if (ACPI_FAILURE(acpi_os_queue_for_execution (OSD_PRIORITY_GPE,
-			acpi_ev_asynch_execute_gpe_method, (void*) gpe_number))) {
+			acpi_ev_asynch_execute_gpe_method, (void*) (u64)gpe_number))) {
 			/*
 			 * Shoudn't occur, but if it does report an error. Note that
 			 * the GPE will remain disabled until the ACPI Core Subsystem

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)