mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +00:00
a13408c205
There are several architectures that duplicate definitions of map_page_into_agp(), unmap_page_from_agp() and flush_agp_cache(). Define those in asm-generic/agp.h and use it instead of duplicated per-architecture headers. Signed-off-by: Mike Rapoport (IBM) <rppt@kernel.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
12 lines
277 B
C
12 lines
277 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _ASM_GENERIC_AGP_H
|
|
#define _ASM_GENERIC_AGP_H
|
|
|
|
#include <asm/io.h>
|
|
|
|
#define map_page_into_agp(page) do {} while (0)
|
|
#define unmap_page_from_agp(page) do {} while (0)
|
|
#define flush_agp_cache() mb()
|
|
|
|
#endif /* _ASM_GENERIC_AGP_H */
|