patch-1.3.62 linux/drivers/char/apm_bios.c

Next file: linux/drivers/char/console.c
Previous file: linux/drivers/char/ChangeLog
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.61/linux/drivers/char/apm_bios.c linux/drivers/char/apm_bios.c
@@ -705,7 +705,10 @@
 		if (err)
 			apm_error("busy", err);
 	}
-	check_events();
+
+	if (!(((standbys_pending > 0) || (suspends_pending > 0))
+	      && (apm_bios_info.version == 0x100)))
+		check_events();
 
 	init_timer(&apm_timer);
 	apm_timer.expires = APM_CHECK_TIMEOUT + jiffies;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this