VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   55 Tags
author: Anshuman Khandual <anshuman.khandual@arm.com> 2020-04-10 14:33:13 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2020-04-10 15:36:21 -0700 commit: 78e7c5af080b86e9f28afac5a8307ddab1d2c1a3 parent: 6cb4d9a2870d2062e34c93bfef4d52fca3fe42d1
Commit Summary:
mm/special: create generic fallbacks for pte_special() and pte_mkspecial()
Diffstat:
1 file changed, 0 insertions, 2 deletions
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)
 {