Under 1.3.70 and previous versions, the apm_bios.c driver can make calls
into the APM BIOS even though the APM BIOS is not present in the system.
This happens in apm_do_busy() if ALWAYS_CALL_BUSY is defined (which it is).
The result is a GP 0 fault in the swapper task. This patch will repair the
problem.
Thanks
Bruce Perens
--- drivers/char/apm_bios.c.old Sun Feb 11 04:45:55 1996
+++ drivers/char/apm_bios.c Sun Mar 3 15:02:30 1996
@@ -742,6 +742,9 @@
#ifndef ALWAYS_CALL_BUSY
if (!clock_slowed)
return;
+#else
+ if (!apm_enabled)
+ return;
#endif
APM_SET_CPU_BUSY(error);
-- Bruce Perens <Bruce@Pixar.com> A campaigner for Clinton and against Censorship. Toy Story: $183M and counting. At $184M it will beat the #1 movie of 1995.