]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-ia64/agp.h
USB: fix serial gadget ACM breakage
[linux-2.6-omap-h63xx.git] / include / asm-ia64 / agp.h
index d1316f1e6ee18f464926ba1de462f4cb6f7a2e4d..4e517f0e6afa34e81e9aecdeee51bf0eaec2b967 100644 (file)
 #define flush_agp_mappings()           /* nothing */
 #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 /* _ASM_IA64_AGP_H */