mirror of
				https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
				synced 2025-10-31 09:36:25 +00:00 
			
		
		
		
	 c7b3aee8af
			
		
	
	
		c7b3aee8af
		
	
	
	
	
		
			
			This removes remove hwsw_dma_ops (and hwsw_* functions). hwsw_dma_get_ops can select swiotlb_dma_ops and sba_dma_ops appropriately. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Acked-by: Tony Luck <tony.luck@intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
		
			
				
	
	
		
			20 lines
		
	
	
		
			589 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			589 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef _ASM_IA64_MACHVEC_HPZX1_SWIOTLB_h
 | |
| #define _ASM_IA64_MACHVEC_HPZX1_SWIOTLB_h
 | |
| 
 | |
| extern ia64_mv_setup_t				dig_setup;
 | |
| extern ia64_mv_dma_get_ops			hwsw_dma_get_ops;
 | |
| 
 | |
| /*
 | |
|  * This stuff has dual use!
 | |
|  *
 | |
|  * For a generic kernel, the macros are used to initialize the
 | |
|  * platform's machvec structure.  When compiling a non-generic kernel,
 | |
|  * the macros are used directly.
 | |
|  */
 | |
| #define platform_name				"hpzx1_swiotlb"
 | |
| #define platform_setup				dig_setup
 | |
| #define platform_dma_init			machvec_noop
 | |
| #define platform_dma_get_ops			hwsw_dma_get_ops
 | |
| 
 | |
| #endif /* _ASM_IA64_MACHVEC_HPZX1_SWIOTLB_h */
 |