v850: Add pte_file
PATCH 1/1 v850: Add pte_file
Signed-off-by Miles Bader <[email protected]>
include/asm-v850/pgtable.h | 2 ++ 1 files changed, 2 insertions(+)
include/asm-v850/pgtable.h +2 -0
@@ -23,6 +23,8 @@#define __pte_to_swp_entry (pte) ((swp_entry_t) { pte_val(pte) })#define __swp_entry_to_pte (x) ((pte_t) { (x).val }) +static inline int pte_file (pte_t pte) {return 0 ; } +/* These mean nothing to !CONFIG_MMU. */ #define PAGE_NONE __pgprot(0)