git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
x86: change early_ioremap to use slots instead of nesting
[safe/jmp/linux-2.6]
/
include
/
asm-x86
/
agp.h
diff --git
a/include/asm-x86/agp.h
b/include/asm-x86/agp.h
index
f6df725
..
3617fd4
100644
(file)
--- 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 <asm/pgtable.h>
#include <asm/cacheflush.h>
#include <asm/pgtable.h>
#include <asm/cacheflush.h>
@@
-12,13
+12,8
@@
* page. This avoids data corruption on some CPUs.
*/
* 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 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
/*
* 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))
#define free_gatt_pages(table, order) \
free_pages((unsigned long)(table), (order))
-#endif
+#endif
/* ASM_X86__AGP_H */