/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_PFN_H_ #define _LINUX_PFN_H_ #ifndef __ASSEMBLY__ #include <linux/types.h> /* * pfn_t: encapsulates a page-frame number that is optionally backed * by memmap (struct page). Whether a pfn_t has a 'struct page' * backing is indicated by flags in the high bits of the value. */ pfn_t; #endif #define PFN_ALIGN(x) … #define PFN_UP(x) … #define PFN_DOWN(x) … #define PFN_PHYS(x) … #define PHYS_PFN(x) … #endif