mips: use generic_pmdp_establish as pmdp_establish
PATCH 64/119 mips: use generic_pmdp_establish as pmdp_establish
From: "Kirill A. Shutemov" <[email protected]>
Subject: mips: use generic_pmdp_establish as pmdp_establish
MIPS doesn't support hardware dirty/accessed bits. generic_pmdp_establish() is suitable in this case.
Signed-off-by Kirill A. Shutemov <[email protected]>
Cc Ralf Baechle <[email protected]>
Cc David Daney <[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/mips/include/asm/pgtable.h | 3 +++ 1 file changed, 3 insertions(+)
arch/mips/include/asm/pgtable.h renamed from arch/mips/include/asm/pgtable.h~mips-use-generic_pmdp_establish-as-pmdp_establish +3 -0
@@ -534,6 +534,9 @@ static inline int io_remap_pfn_range(str#ifdef CONFIG_TRANSPARENT_HUGEPAGE +/* We don't have hardware dirty/accessed bits, generic_pmdp_establish is fine.*/ +#define pmdp_establish generic_pmdp_establish +#define has_transparent_hugepage has_transparent_hugepageextern int has_transparent_hugepage (void );
_