]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
sparc-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 already added
pmd-dirty()

Cc: Minchan Kim <minchan@kernel.org>
Reported-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/sparc/include/asm/pgtable_64.h

index d839a46aa694a88aaa61f4988bc59648cafa4476..5c02174828ed02c6cdc552f4db9565973b4de8d5 100644 (file)
@@ -647,13 +647,6 @@ static inline unsigned long pmd_young(pmd_t pmd)
        return pte_young(pte);
 }
 
-static inline int pmd_dirty(pmd_t pmd)
-{
-       pte_t pte = __pte(pmd_val(pmd));
-
-       return pte_dirty(pte);
-}
-
 static inline unsigned long pmd_write(pmd_t pmd)
 {
        pte_t pte = __pte(pmd_val(pmd));