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

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

diff -u --recursive --new-file v1.3.70/linux/drivers/char/apm_bios.c linux/drivers/char/apm_bios.c
@@ -742,6 +742,9 @@
 #ifndef ALWAYS_CALL_BUSY
 	if (!clock_slowed)
 		return;
+#else
+	if (!apm_enabled)
+		return;
 #endif
 
 	APM_SET_CPU_BUSY(error);

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