]> err.no Git - linux-2.6/blobdiff - include/asm-alpha/agp.h
abituguru3: update MAINTAINERS
[linux-2.6] / include / asm-alpha / agp.h
index c99dbbb5bcb5ae32f02d8c3f4af9d3c4d2638f77..26c17913529366ef0a5930b073c0e1f4648b6b70 100644 (file)
@@ -7,7 +7,16 @@
 
 #define map_page_into_agp(page) 
 #define unmap_page_from_agp(page) 
-#define flush_agp_mappings() 
 #define flush_agp_cache() mb()
 
+/* Convert a physical address to an address suitable for the GART. */
+#define phys_to_gart(x) (x)
+#define gart_to_phys(x) (x)
+
+/* GATT allocation. Returns/accepts GATT kernel virtual address. */
+#define alloc_gatt_pages(order)                \
+       ((char *)__get_free_pages(GFP_KERNEL, (order)))
+#define free_gatt_pages(table, order)  \
+       free_pages((unsigned long)(table), (order))
+
 #endif