summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2008-03-07 09:29:35 +1000
committerDave Airlie <airlied@linux.ie>2008-03-07 09:29:35 +1000
commit2540ea7dc6c0c4f0ebca3370d6ec7359e4276e13 (patch)
tree00a6826b84da960dfef49250c1ca73e3f0f12531 /linux-core
parent92a30dd608c2838dea97efc04e1447056f37d0b5 (diff)
flush_agp_mappings commit
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/drm_compat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/linux-core/drm_compat.h b/linux-core/drm_compat.h
index 136a7296..8f2d9a94 100644
--- a/linux-core/drm_compat.h
+++ b/linux-core/drm_compat.h
@@ -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