diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-07 16:41:30 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-07 16:41:30 -0400 |
commit | eba4f669d6ec9be4173bb2619e9b8500b3c36542 (patch) | |
tree | 60178d4f2dd4fa1f8985b38fdbe4cd6b99a58c7a /include/asm-i386 | |
parent | 93cffffa19960464a52f9c78d9a6150270d23785 (diff) | |
parent | 66bb8bf8b235ba4d37fda14375827864977c6a3e (diff) |
Merge of master.kernel.org:/pub/scm/linux/kernel/git/davej/agpgart
Diffstat (limited to 'include/asm-i386')
-rw-r--r-- | include/asm-i386/agp.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/asm-i386/agp.h b/include/asm-i386/agp.h index a917ff50354f..b82f5f3ab887 100644 --- a/include/asm-i386/agp.h +++ b/include/asm-i386/agp.h | |||
@@ -21,4 +21,14 @@ int unmap_page_from_agp(struct page *page); | |||
21 | worth it. Would need a page for it. */ | 21 | worth it. Would need a page for it. */ |
22 | #define flush_agp_cache() asm volatile("wbinvd":::"memory") | 22 | #define flush_agp_cache() asm volatile("wbinvd":::"memory") |
23 | 23 | ||
24 | /* Convert a physical address to an address suitable for the GART. */ | ||
25 | #define phys_to_gart(x) (x) | ||
26 | #define gart_to_phys(x) (x) | ||
27 | |||
28 | /* GATT allocation. Returns/accepts GATT kernel virtual address. */ | ||
29 | #define alloc_gatt_pages(order) \ | ||
30 | ((char *)__get_free_pages(GFP_KERNEL, (order))) | ||
31 | #define free_gatt_pages(table, order) \ | ||
32 | free_pages((unsigned long)(table), (order)) | ||
33 | |||
24 | #endif | 34 | #endif |