diff options
author | Michael J. Chudobiak <mjc@avtechpulse.com> | 2016-04-25 10:00:44 -0400 |
---|---|---|
committer | Michael J. Chudobiak <mjc@avtechpulse.com> | 2016-04-25 10:00:44 -0400 |
commit | a1df417e74aa6dae7352dc8cbb0ad471af5b7c69 (patch) | |
tree | c34b2311e37ea31db153c90cb8f4570374d05e78 /linux/arch/sparc/include/asm/agp.h |
initial Olimex linux tree from Daniel, originally Feb 3, 2016
Diffstat (limited to 'linux/arch/sparc/include/asm/agp.h')
-rw-r--r-- | linux/arch/sparc/include/asm/agp.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/linux/arch/sparc/include/asm/agp.h b/linux/arch/sparc/include/asm/agp.h new file mode 100644 index 00000000..70f52c16 --- /dev/null +++ b/linux/arch/sparc/include/asm/agp.h @@ -0,0 +1,16 @@ +#ifndef AGP_H +#define AGP_H 1 + +/* dummy for now */ + +#define map_page_into_agp(page) +#define unmap_page_from_agp(page) +#define flush_agp_cache() mb() + +/* 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 |