aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2015-05-14 01:01:47 +0000
committerJohannes Weiner <hannes@cmpxchg.org>2015-05-14 01:01:47 +0000
commit2da0e9cfe0776ae463955270437a886500f27910 (patch)
treef130d8101d1096dd10a74099911d28abeacc10a3
parent5a42facba037dc08ce0b6eb0d49b19a840ffb5cd (diff)
downloadmm-next-2da0e9cfe0776ae463955270437a886500f27910.tar.gz
x86-add-pmd_-for-thp-fix
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>
-rw-r--r--arch/x86/include/asm/pgtable.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/x86/include/asm/pgtable.h b/arch/x86/include/asm/pgtable.h
index 10909e585d3b17..4383012950b066 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;