18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef ___ASM_SPARC_PAGE_H 38c2ecf20Sopenharmony_ci#define ___ASM_SPARC_PAGE_H 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci#define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci#if defined(__sparc__) && defined(__arch64__) 88c2ecf20Sopenharmony_ci#include <asm/page_64.h> 98c2ecf20Sopenharmony_ci#else 108c2ecf20Sopenharmony_ci#include <asm/page_32.h> 118c2ecf20Sopenharmony_ci#endif 128c2ecf20Sopenharmony_ci#endif 13