]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
x86-add-pmd_-for-thp-fix
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 21 Oct 2015 22:03:43 +0000 (09:03 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 21 Oct 2015 22:03:43 +0000 (09:03 +1100)
mm-fix-huge-zero-page-accounting-in-smaps-report.patch also added pmd_dirty()

Cc: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/x86/include/asm/pgtable.h

index 4dd930d6a6905d496f206da30c5775ec9d052d21..a8fdfe0d72775fa14d59189b5b3b48308e93ad9a 100644 (file)
@@ -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;