]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
sparc-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 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 aba26ed4dafe768972c98e5d6f5ffd4ab18aa269..7a38d6a576c5e2ea718deb632e63c0939e60c011 100644 (file)
@@ -667,13 +667,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));