From: "Kirill A. Shutemov" Subject: [PATCHv3 05/11] mips: Use generic_pmdp_establish as pmdp_establish Date: Tue, 12 Sep 2017 18:39:35 +0300 Message-ID: <20170912153941.47012-6-kirill.shutemov@linux.intel.com> References: <20170912153941.47012-1-kirill.shutemov@linux.intel.com> Return-path: In-Reply-To: <20170912153941.47012-1-kirill.shutemov@linux.intel.com> Sender: owner-linux-mm@kvack.org To: Andrew Morton , Vlastimil Babka , Vineet Gupta , Russell King , Will Deacon , Catalin Marinas , Ralf Baechle , "David S. Miller" , "Aneesh Kumar K . V" , Martin Schwidefsky , Heiko Carstens , Andrea Arcangeli Cc: linux-arch@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, "Kirill A. Shutemov" , David Daney , linux-mips@linux-mips.org List-Id: linux-arch.vger.kernel.org MIPS doesn't support hardware dirty/accessed bits. generic_pmdp_establish() is suitable in this case. Signed-off-by: Kirill A. Shutemov Cc: Ralf Baechle Cc: David Daney Cc: linux-mips@linux-mips.org --- arch/mips/include/asm/pgtable.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/mips/include/asm/pgtable.h b/arch/mips/include/asm/pgtable.h index 9e9e94415d08..7b3a3139e82d 100644 --- a/arch/mips/include/asm/pgtable.h +++ b/arch/mips/include/asm/pgtable.h @@ -534,6 +534,9 @@ static inline int io_remap_pfn_range(struct vm_area_struct *vma, #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_hugepage extern int has_transparent_hugepage(void); -- 2.14.1 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org