|
@@ -219,7 +219,10 @@ struct agp_bridge_data *agp_generic_find_bridge(struct pci_dev *pdev);
|
|
|
/* generic functions for user-populated AGP memory types */
|
|
|
struct agp_memory *agp_generic_alloc_user(size_t page_count, int type);
|
|
|
void agp_alloc_page_array(size_t size, struct agp_memory *mem);
|
|
|
-void agp_free_page_array(struct agp_memory *mem);
|
|
|
+static inline void agp_free_page_array(struct agp_memory *mem)
|
|
|
+{
|
|
|
+ kvfree(mem->pages);
|
|
|
+}
|
|
|
|
|
|
|
|
|
/* generic routines for agp>=3 */
|