Merge branch 'master' of ../../drm into modesetting-101
[profile/ivi/libdrm.git] / linux-core / drm_compat.h
index 86f1159..03838a1 100644 (file)
@@ -348,4 +348,9 @@ extern struct pci_dev * pci_get_bus_and_slot(unsigned int bus, unsigned int devf
 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