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