]> Git Repo - linux.git/blob - arch/powerpc/include/asm/agp.h
enetc: Migrate to PHYLINK and PCS_LYNX
[linux.git] / arch / powerpc / include / asm / agp.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_POWERPC_AGP_H
3 #define _ASM_POWERPC_AGP_H
4 #ifdef __KERNEL__
5
6 #include <asm/io.h>
7
8 #define map_page_into_agp(page)
9 #define unmap_page_from_agp(page)
10 #define flush_agp_cache() mb()
11
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))
17
18 #endif /* __KERNEL__ */
19 #endif  /* _ASM_POWERPC_AGP_H */
This page took 0.033223 seconds and 4 git commands to generate.