diff options
author | Steve French <sfrench@us.ibm.com> | 2005-06-13 13:25:38 -0500 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2005-06-13 13:25:38 -0500 |
commit | 5893a65711164e42fea4a58bb8adf47c2fac8a4b (patch) | |
tree | 31b5f20e314aae236b06998de3fffeb729581af5 /include/asm-alpha/agp.h | |
parent | d6e04ae64c6b06ef76a5d4fb49106b393b7fa50a (diff) | |
parent | c0105338eb4e61e537ca34ae06921177cb6efcf0 (diff) |
Merge with rsync://rsync.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6.git
Diffstat (limited to 'include/asm-alpha/agp.h')
-rw-r--r-- | include/asm-alpha/agp.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/asm-alpha/agp.h b/include/asm-alpha/agp.h index c99dbbb5bcb..ef855a3bc0f 100644 --- a/include/asm-alpha/agp.h +++ b/include/asm-alpha/agp.h @@ -10,4 +10,14 @@ #define flush_agp_mappings() #define flush_agp_cache() mb() +/* Convert a physical address to an address suitable for the GART. */ +#define phys_to_gart(x) (x) +#define gart_to_phys(x) (x) + +/* GATT allocation. Returns/accepts GATT kernel virtual address. */ +#define alloc_gatt_pages(order) \ + ((char *)__get_free_pages(GFP_KERNEL, (order))) +#define free_gatt_pages(table, order) \ + free_pages((unsigned long)(table), (order)) + #endif |