| 
									
										
										
										
											2008-10-17 12:14:13 -07:00
										 |  |  | #ifndef ASM_IA64__SWIOTLB_H
 | 
					
						
							|  |  |  | #define ASM_IA64__SWIOTLB_H
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #include <linux/dma-mapping.h>
 | 
					
						
							| 
									
										
										
										
											2008-12-28 15:02:05 +09:00
										 |  |  | #include <linux/swiotlb.h>
 | 
					
						
							| 
									
										
										
										
											2008-10-17 12:14:13 -07:00
										 |  |  | 
 | 
					
						
							|  |  |  | #ifdef CONFIG_SWIOTLB
 | 
					
						
							|  |  |  | extern int swiotlb; | 
					
						
							|  |  |  | extern void pci_swiotlb_init(void); | 
					
						
							|  |  |  | #else
 | 
					
						
							|  |  |  | #define swiotlb 0
 | 
					
						
							|  |  |  | static inline void pci_swiotlb_init(void) | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #endif /* ASM_IA64__SWIOTLB_H */
 |