M7350/kernel/arch/sparc/include/asm/page.h

12 lines
235 B
C
Raw Normal View History

2024-09-09 08:52:07 +00:00
#ifndef ___ASM_SPARC_PAGE_H
#define ___ASM_SPARC_PAGE_H
2024-09-09 08:57:42 +00:00
#define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT)
2024-09-09 08:52:07 +00:00
#if defined(__sparc__) && defined(__arch64__)
#include <asm/page_64.h>
#else
#include <asm/page_32.h>
#endif
#endif