summaryrefslogtreecommitdiffstats
path: root/include/asm-i386/agp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-i386/agp.h')
-rw-r--r--include/asm-i386/agp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-i386/agp.h b/include/asm-i386/agp.h
index b82f5f3..9075083 100644
--- a/include/asm-i386/agp.h
+++ b/include/asm-i386/agp.h
@@ -19,7 +19,7 @@ int unmap_page_from_agp(struct page *page);
/* Could use CLFLUSH here if the cpu supports it. But then it would
need to be called for each cacheline of the whole page so it may not be
worth it. Would need a page for it. */
-#define flush_agp_cache() asm volatile("wbinvd":::"memory")
+#define flush_agp_cache() wbinvd()
/* Convert a physical address to an address suitable for the GART. */
#define phys_to_gart(x) (x)
OpenPOWER on IntegriCloud