On Mon, Mar 02, 2020 at 07:26:30AM +0530, Anshuman Khandual wrote: > diff --git a/arch/openrisc/include/asm/pgtable.h b/arch/openrisc/include/asm/pgtable.h > index 248d22d8faa7..7f3fb9ceb083 100644 > --- a/arch/openrisc/include/asm/pgtable.h > +++ b/arch/openrisc/include/asm/pgtable.h > @@ -236,8 +236,6 @@ static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITE; } > static inline int pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } > static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } > static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } > -static inline int pte_special(pte_t pte) { return 0; } > -static inline pte_t pte_mkspecial(pte_t pte) { return pte; } > > static inline pte_t pte_wrprotect(pte_t pte) > { For openrisc bits: Acked-by: Stafford Horne <shorne@xxxxxxxxx>