summaryrefslogtreecommitdiff
path: root/arch/nios2/include/asm/pgtable.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/nios2/include/asm/pgtable.h')
-rw-r--r--arch/nios2/include/asm/pgtable.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/nios2/include/asm/pgtable.h b/arch/nios2/include/asm/pgtable.h
index 5144506dfa69..d052dfcbe8d3 100644
--- a/arch/nios2/include/asm/pgtable.h
+++ b/arch/nios2/include/asm/pgtable.h
@@ -178,6 +178,8 @@ static inline void set_pte(pte_t *ptep, pte_t pteval)
*ptep = pteval;
}
+#define PFN_PTE_SHIFT 0
+
static inline void set_ptes(struct mm_struct *mm, unsigned long addr,
pte_t *ptep, pte_t pte, unsigned int nr)
{