aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorArjan van de Ven <arjan@infradead.org>2008-01-30 07:34:06 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:34:06 -0500
commit6d238cc4dc8a36a3915c26202fe49f58a0683fb9 (patch)
treef17d1b7d27ab48ba3b5f998a8a286c198b052ce2 /include
parent75cbade8ea3127a84e3da7c2c15808e54f0df7e8 (diff)
x86: convert CPA users to the new set_page_ API
This patch converts various users of change_page_attr() to the new, more intent driven set_page_*/set_memory_* API set. Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r--include/asm-x86/agp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-x86/agp.h b/include/asm-x86/agp.h
index 62df2a9e7130..f6df72561832 100644
--- a/include/asm-x86/agp.h
+++ b/include/asm-x86/agp.h
@@ -16,8 +16,8 @@
16 * Caller's responsibility to call global_flush_tlb() for performance 16 * Caller's responsibility to call global_flush_tlb() for performance
17 * reasons 17 * reasons
18 */ 18 */
19#define map_page_into_agp(page) change_page_attr(page, 1, PAGE_KERNEL_NOCACHE) 19#define map_page_into_agp(page) set_pages_uc(page, 1)
20#define unmap_page_from_agp(page) change_page_attr(page, 1, PAGE_KERNEL) 20#define unmap_page_from_agp(page) set_pages_wb(page, 1)
21#define flush_agp_mappings() global_flush_tlb() 21#define flush_agp_mappings() global_flush_tlb()
22 22
23/* 23/*