WIP FPC-III support
[linux/fpc-iii.git] / arch / powerpc / include / asm / agp.h
blobb29b1186f8193873a5fe2b23019e46e147ba1cf2
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_POWERPC_AGP_H
3 #define _ASM_POWERPC_AGP_H
4 #ifdef __KERNEL__
6 #include <asm/io.h>
8 #define map_page_into_agp(page)
9 #define unmap_page_from_agp(page)
10 #define flush_agp_cache() mb()
12 /* GATT allocation. Returns/accepts GATT kernel virtual address. */
13 #define alloc_gatt_pages(order) \
14 ((char *)__get_free_pages(GFP_KERNEL, (order)))
15 #define free_gatt_pages(table, order) \
16 free_pages((unsigned long)(table), (order))
18 #endif /* __KERNEL__ */
19 #endif /* _ASM_POWERPC_AGP_H */