arc: use generic_pmdp_establish as pmdp_establish
PATCH 61/119 arc: use generic_pmdp_establish as pmdp_establish
From: "Kirill A. Shutemov" <[email protected]>
Subject: arc: use generic_pmdp_establish as pmdp_establish
ARC doesn't support hardware dirty/accessed bits. generic_pmdp_establish() is suitable in this case.
Signed-off-by Kirill A. Shutemov <[email protected]>
Cc Vineet Gupta <[email protected]>
Cc Vlastimil Babka <[email protected]>
Cc Andrea Arcangeli <[email protected]>
Cc Michal Hocko <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
arch/arc/include/asm/hugepage.h | 3 +++ 1 file changed, 3 insertions(+)
arch/arc/include/asm/hugepage.h renamed from arch/arc/include/asm/hugepage.h~arc-use-generic_pmdp_establish-as-pmdp_establish +3 -0
@@ -74,4 +74,7 @@ extern pgtable_t pgtable_trans_huge_withextern 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
_