patch-2.4.20 linux-2.4.20/drivers/acpi/ospm/system/sm_osl.c

Next file: linux-2.4.20/drivers/acpi/ospm/thermal/tzpolicy.c
Previous file: linux-2.4.20/drivers/acpi/ospm/ec/ectransx.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/drivers/acpi/ospm/system/sm_osl.c linux-2.4.20/drivers/acpi/ospm/system/sm_osl.c
@@ -685,6 +685,9 @@
 	 */
 	if (state == ACPI_S2 || state == ACPI_S3) {
 #ifdef DONT_USE_UNTIL_LOWLEVEL_CODE_EXISTS
+		/* That && trick is *not going to work*. Read gcc
+		   specs. That explicitely says: jumping from other
+		   function is *not allowed*. */ 
 		wakeup_address = acpi_save_state_mem((unsigned long)&&acpi_sleep_done);
 
 		if (!wakeup_address) goto acpi_sleep_done;

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