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
- Lines: 12
- Date:
Sun Feb 11 14:45:55 1996
- Orig file:
v1.3.61/linux/drivers/char/apm_bios.c
- Orig date:
Fri Jan 26 01:37:05 1996
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