flush_agp_mappings commit
authorDave Airlie <airlied@linux.ie>
Thu, 6 Mar 2008 23:29:35 +0000 (09:29 +1000)
committerDave Airlie <airlied@linux.ie>
Thu, 6 Mar 2008 23:29:35 +0000 (09:29 +1000)
linux-core/drm_compat.h

index 136a729..8f2d9a9 100644 (file)
@@ -333,4 +333,9 @@ typedef _Bool                   bool;
 extern void *kmap_atomic_prot_pfn(unsigned long pfn, enum km_type type,
                                  pgprot_t protection);
 #endif
+
+#if !defined(flush_agp_mappings)
+#define flush_agp_mappings() do {} while(0)
+#endif
+
 #endif