summaryrefslogtreecommitdiff
path: root/arch/sparc/include/asm/page.h
blob: 5e44cdf2a8f2bd898281a12b10a758ccfafcde04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* 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