mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	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>
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			277 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			11 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 */
 |