APM BIOS and 2.1.121.

Myrdraal (myrdraal@jackalz.dyn.ml.org)
Wed, 9 Sep 1998 20:24:50 -0400


--oyUTqETQ0mS9luUI
Content-Type: text/plain; charset=us-ascii

Hi,
Well, it seems like the definition of "gdt" has moved, so apm_bios.c
failed to compile for me. Below is the quick-and-dirty (yes, really dirty)
patch I came up with. It compiled okay, I haven't booted it yet, though.
-Myrdraal

-- 
Linux jackalz 2.1.120 #126 Sat Sep 5 12:48:10 EDT 1998 i486
8:23pm  up 1 day,  6:02, 21 users,  load average: 1.28, 1.03, 0.79

--oyUTqETQ0mS9luUI Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="apm_bios-2.1.121.diff"

--- linux/drivers/char/apm_bios.c.bak Wed Sep 9 20:17:08 1998 +++ linux/drivers/char/apm_bios.c Wed Sep 9 20:19:34 1998 @@ -78,6 +78,8 @@ #include <linux/config.h> #include <linux/module.h> +#include "../../arch/i386/kernel/desc.h" + #include <asm/system.h> #include <asm/uaccess.h>

--oyUTqETQ0mS9luUI--

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/faq.html