From: Andrew Morton Date: Tue, 7 Apr 2015 23:44:40 +0000 (+1000) Subject: x86-add-pmd_-for-thp-fix X-Git-Tag: KARO-TXA5-2015-06-26~18^2~249 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=95ac2ad6badcf6fd5af29bbee40bb1227ef5340d;p=karo-tx-linux.git 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 --- 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;