2003-07-07 08:37:04

by Andrew de Quincey

[permalink] [raw]
Subject: [PATCH] Compile nvidia-agp.c as module in 2.5.75

Needs agp_memory_reserved exported (cannot use the standard calls in
agp/generic.c it seems).

---CUT HERE--
--- linux-2.5.74.orig/drivers/char/agp/generic.c 2003-07-02 21:45:17.000000000
+0100
+++ linux-2.5.74/drivers/char/agp/generic.c 2003-07-07 09:45:03.000000000
+0100
@@ -39,6 +39,7 @@

__u32 *agp_gatt_table;
int agp_memory_reserved;
+EXPORT_SYMBOL_GPL(agp_memory_reserved);

/*
* Generic routines for handling agp_memory structures -
--- CUT HERE---