treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / alpha / include / asm / agp.h
blob7173eada1567872d89712121218cda8b720f4748
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef AGP_H
3 #define AGP_H 1
5 #include <asm/io.h>
7 /* dummy for now */
9 #define map_page_into_agp(page)
10 #define unmap_page_from_agp(page)
11 #define flush_agp_cache() mb()
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))
19 #endif