repo: https://github.com/T-head-Semi/linux commit: b1313fe517ca3703119dcc99ef3bbf75ab42bcfb Change-Id: I6cbb35294024ea3a66140e311f4bb705fd7fd626
13 lines
274 B
C
13 lines
274 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#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
|