X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;ds=sidebyside;f=include%2Fasm-x86%2Fagp.h;h=3617fd4fcdf9faa1f110055cd33f607e98662c76;hb=c1a2f4b10852ce68e70f7e4c53600c36cc63ea45;hp=f6df72561832ed55884cefd6d9b57ca1727c8a9d;hpb=6d238cc4dc8a36a3915c26202fe49f58a0683fb9;p=safe%2Fjmp%2Flinux-2.6 diff --git a/include/asm-x86/agp.h b/include/asm-x86/agp.h index f6df725..3617fd4 100644 --- a/include/asm-x86/agp.h +++ b/include/asm-x86/agp.h @@ -1,5 +1,5 @@ -#ifndef _ASM_X86_AGP_H -#define _ASM_X86_AGP_H +#ifndef ASM_X86__AGP_H +#define ASM_X86__AGP_H #include #include @@ -12,13 +12,8 @@ * page. This avoids data corruption on some CPUs. */ -/* - * Caller's responsibility to call global_flush_tlb() for performance - * reasons - */ #define map_page_into_agp(page) set_pages_uc(page, 1) #define unmap_page_from_agp(page) set_pages_wb(page, 1) -#define flush_agp_mappings() global_flush_tlb() /* * Could use CLFLUSH here if the cpu supports it. But then it would @@ -37,4 +32,4 @@ #define free_gatt_pages(table, order) \ free_pages((unsigned long)(table), (order)) -#endif +#endif /* ASM_X86__AGP_H */