From 95ac2ad6badcf6fd5af29bbee40bb1227ef5340d Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Wed, 8 Apr 2015 09:44:40 +1000 Subject: [PATCH] x86-add-pmd_-for-thp-fix mm-fix-huge-zero-page-accounting-in-smaps-report.patch also added pmd_dirty() Cc: Minchan Kim Signed-off-by: Andrew Morton --- arch/x86/include/asm/pgtable.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/x86/include/asm/pgtable.h b/arch/x86/include/asm/pgtable.h index 6caf13453b03..affcb3459847 100644 --- a/arch/x86/include/asm/pgtable.h +++ b/arch/x86/include/asm/pgtable.h @@ -110,11 +110,6 @@ static inline int pmd_young(pmd_t pmd) return pmd_flags(pmd) & _PAGE_ACCESSED; } -static inline int pmd_dirty(pmd_t pmd) -{ - return pmd_flags(pmd) & _PAGE_DIRTY; -} - static inline int pte_write(pte_t pte) { return pte_flags(pte) & _PAGE_RW; -- 2.39.5