xref: /openbmc/linux/arch/sparc/include/asm/page.h (revision ca55b2fe)
1 #ifndef ___ASM_SPARC_PAGE_H
2 #define ___ASM_SPARC_PAGE_H
3 
4 #define page_to_phys(page)	(page_to_pfn(page) << PAGE_SHIFT)
5 
6 #if defined(__sparc__) && defined(__arch64__)
7 #include <asm/page_64.h>
8 #else
9 #include <asm/page_32.h>
10 #endif
11 #endif
12