patch-2.4.20 linux-2.4.20/drivers/acpi/dispatcher/dswexec.c
Next file: linux-2.4.20/drivers/acpi/events/evevent.c
Previous file: linux-2.4.20/drivers/acpi/dispatcher/dsfield.c
Back to the patch index
Back to the overall index
-  Lines: 9
 -  Date:
Thu Nov 28 15:53:12 2002
 -  Orig file: 
linux-2.4.19/drivers/acpi/dispatcher/dswexec.c
 -  Orig date: 
Wed Oct 24 14:06:22 2001
 
diff -urN linux-2.4.19/drivers/acpi/dispatcher/dswexec.c linux-2.4.20/drivers/acpi/dispatcher/dswexec.c
@@ -577,7 +577,7 @@
 		(walk_state->control_state->common.state ==
 			CONTROL_PREDICATE_EXECUTING) &&
 		(walk_state->control_state->control.predicate_op == op)) {
-		status = acpi_ds_get_predicate_value (walk_state, (u32) walk_state->result_obj);
+		status = acpi_ds_get_predicate_value (walk_state, !! walk_state->result_obj);
 		walk_state->result_obj = NULL;
 	}
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)