[PATCH] Apmd oopses in 2.3.1

Pavel Machek (pavel@bug.ucw.cz)
Sat, 15 May 1999 11:53:28 +0200


Hi!

Remedy is pretty easy, please apply.

What is worse, cardmgr started oopsing on me. Does anyone have a fix
for that one?

Pavel

--- clean/arch/i386/kernel/apm.c Fri May 14 20:42:18 1999
+++ linux/arch/i386/kernel/apm.c Sat May 15 11:32:06 1999
@@ -314,7 +314,7 @@
static int debug = 0;
static int apm_disabled = 0;

-static struct wait_queue * process_list = NULL;
+static DECLARE_WAIT_QUEUE_HEAD(process_list);
static struct apm_bios_struct * user_list = NULL;

static struct timer_list apm_timer;

-- 
I'm really pavel@ucw.cz. Look at http://195.113.31.123/~pavel.          Pavel
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!

- 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/