From 2540ea7dc6c0c4f0ebca3370d6ec7359e4276e13 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Fri, 7 Mar 2008 09:29:35 +1000 Subject: flush_agp_mappings commit --- linux-core/drm_compat.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'linux-core') 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 -- cgit v1.2.3