]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
x86-add-pmd_-for-thp-fix
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 7 Apr 2015 23:44:40 +0000 (09:44 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 7 Apr 2015 23:44:40 +0000 (09:44 +1000)
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 6caf13453b0383a5889e9129d5f698d48ffae4b1..affcb3459847735a3099ab5b9f8ef6ebb1b7d790 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;