Thread (7 messages) 7 messages, 5 authors, 2020-03-05

Re: [PATCH] mm/special: Create generic fallbacks for pte_special() and pte_mkspecial()

From: Stafford Horne <shorne@gmail.com>
Date: 2020-03-02 09:16:43
Also in: linux-alpha, linux-arch, linux-m68k, linux-mips, linux-mm, linux-um, lkml, sparclinux

On Mon, Mar 02, 2020 at 07:26:30AM +0530, Anshuman Khandual wrote:
quoted hunk ↗ jump to hunk
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@gmail.com>
 

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help