Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1730952 > unrolled thread

[PATCHv3 02/11] arc: Use generic_pmdp_establish as pmdp_establish

Started by"Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
First post2017-09-12 17:50 +0200
Last post2017-09-12 17:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCHv3 02/11] arc: Use generic_pmdp_establish as pmdp_establish "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> - 2017-09-12 17:50 +0200

#1730952 — [PATCHv3 02/11] arc: Use generic_pmdp_establish as pmdp_establish

From"Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Date2017-09-12 17:50 +0200
Subject[PATCHv3 02/11] arc: Use generic_pmdp_establish as pmdp_establish
Message-ID<uoVBL-37Z-11@gated-at.bofh.it>
ARC doesn't support hardware dirty/accessed bits.
generic_pmdp_establish() is suitable in this case.

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Vineet Gupta <vgupta@synopsys.com>
---
 arch/arc/include/asm/hugepage.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arc/include/asm/hugepage.h b/arch/arc/include/asm/hugepage.h
index b18fcb606908..dc8ee011882f 100644
--- a/arch/arc/include/asm/hugepage.h
+++ b/arch/arc/include/asm/hugepage.h
@@ -74,4 +74,7 @@ extern pgtable_t pgtable_trans_huge_withdraw(struct mm_struct *mm, pmd_t *pmdp);
 extern void flush_pmd_tlb_range(struct vm_area_struct *vma, unsigned long start,
 				unsigned long end);
 
+/* We don't have hardware dirty/accessed bits, generic_pmdp_establish is fine.*/
+#define pmdp_establish generic_pmdp_establish
+
 #endif
-- 
2.14.1

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web