 c46064b4e8
			
		
	
	
	c46064b4e8
	
	
	
		
			
			Preparation for introducing asm-generic/io.h this move was required. In asm-generic page_to_phys is placed in page.h - so do the same here. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			235 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			235 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef ___ASM_SPARC_PAGE_H
 | |
| #define ___ASM_SPARC_PAGE_H
 | |
| 
 | |
| #define page_to_phys(page)	(page_to_pfn(page) << PAGE_SHIFT)
 | |
| 
 | |
| #if defined(__sparc__) && defined(__arch64__)
 | |
| #include <asm/page_64.h>
 | |
| #else
 | |
| #include <asm/page_32.h>
 | |
| #endif
 | |
| #endif
 |