2005-01-10 10:15:45

by Brice Goglin

[permalink] [raw]
Subject: Re: 2.6.10-mm2 solved

--- linux-mm/drivers/char/agp/backend.c.orig 2005-01-10 10:36:13.000000000 +0100
+++ linux-mm/drivers/char/agp/backend.c 2005-01-10 10:34:35.000000000 +0100
@@ -235,6 +235,8 @@
if (!bridge)
return NULL;

+ atomic_set(&bridge->agp_in_use, 0);
+
if (list_empty(&agp_bridges))
agp_bridge = bridge;


Attachments:
fix_agp_in_use_init.diff (308.00 B)

2005-01-10 16:41:51

by Brice Goglin

[permalink] [raw]
Subject: Re: 2.6.10-mm2 solved

--- linux-mm/drivers/char/agp/backend.c.orig 2005-01-10 10:36:13.000000000 +0100
+++ linux-mm/drivers/char/agp/backend.c 2005-01-10 10:34:35.000000000 +0100
@@ -235,6 +235,8 @@
if (!bridge)
return NULL;

+ memset(bridge, 0, sizeof(*bridge));
+
if (list_empty(&agp_bridges))
agp_bridge = bridge;


Attachments:
fix_agp_bridge_init.diff (308.00 B)