Merge tag '5.15-rc-cifs-part2' of git://git.samba.org/sfrench/cifs-2.6
[linux-2.6-microblaze.git] / arch / alpha / include / asm / agp.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef AGP_H
3 #define AGP_H 1
4
5 #include <asm/io.h>
6
7 /* dummy for now */
8
9 #define map_page_into_agp(page)         do { } while (0)
10 #define unmap_page_from_agp(page)       do { } while (0)
11 #define flush_agp_cache() mb()
12
13 /* GATT allocation. Returns/accepts GATT kernel virtual address. */
14 #define alloc_gatt_pages(order)         \
15         ((char *)__get_free_pages(GFP_KERNEL, (order)))
16 #define free_gatt_pages(table, order)   \
17         free_pages((unsigned long)(table), (order))
18
19 #endif