aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/agp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/agp.h')
-rw-r--r--include/asm-x86/agp.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/include/asm-x86/agp.h b/include/asm-x86/agp.h
index 62df2a9e7130..e4004a9f6a9a 100644
--- a/include/asm-x86/agp.h
+++ b/include/asm-x86/agp.h
@@ -12,13 +12,8 @@
12 * page. This avoids data corruption on some CPUs. 12 * page. This avoids data corruption on some CPUs.
13 */ 13 */
14 14
15/* 15#define map_page_into_agp(page) set_pages_uc(page, 1)
16 * Caller's responsibility to call global_flush_tlb() for performance 16#define unmap_page_from_agp(page) set_pages_wb(page, 1)
17 * reasons
18 */
19#define map_page_into_agp(page) change_page_attr(page, 1, PAGE_KERNEL_NOCACHE)
20#define unmap_page_from_agp(page) change_page_attr(page, 1, PAGE_KERNEL)
21#define flush_agp_mappings() global_flush_tlb()
22 17
23/* 18/*
24 * Could use CLFLUSH here if the cpu supports it. But then it would 19 * Could use CLFLUSH here if the cpu supports it. But then it would