From: Greg Kroah-Hartman Date: Mon, 7 Aug 2017 21:39:25 +0000 (-0700) Subject: fix up 4.9 mm patch X-Git-Tag: v4.12.6~47 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e18e1cd32a3165dbf9b7169ff0baac139ec4ef33;p=thirdparty%2Fkernel%2Fstable-queue.git fix up 4.9 mm patch --- diff --git a/queue-4.9/mm-mprotect-flush-tlb-if-potentially-racing-with-a-parallel-reclaim-leaving-stale-tlb-entries.patch b/queue-4.9/mm-mprotect-flush-tlb-if-potentially-racing-with-a-parallel-reclaim-leaving-stale-tlb-entries.patch index 4ba21cdb4ab..f35b8caec0c 100644 --- a/queue-4.9/mm-mprotect-flush-tlb-if-potentially-racing-with-a-parallel-reclaim-leaving-stale-tlb-entries.patch +++ b/queue-4.9/mm-mprotect-flush-tlb-if-potentially-racing-with-a-parallel-reclaim-leaving-stale-tlb-entries.patch @@ -72,12 +72,12 @@ Signed-off-by: Greg Kroah-Hartman --- include/linux/mm_types.h | 4 ++++ mm/internal.h | 5 ++++- - mm/madvise.c | 1 + + mm/madvise.c | 2 ++ mm/memory.c | 1 + mm/mprotect.c | 1 + mm/mremap.c | 1 + mm/rmap.c | 36 ++++++++++++++++++++++++++++++++++++ - 7 files changed, 48 insertions(+), 1 deletion(-) + 7 files changed, 49 insertions(+), 1 deletion(-) --- a/include/linux/mm_types.h +++ b/include/linux/mm_types.h @@ -115,7 +115,15 @@ Signed-off-by: Greg Kroah-Hartman extern const struct trace_print_flags pageflag_names[]; --- a/mm/madvise.c +++ b/mm/madvise.c -@@ -282,6 +282,7 @@ static int madvise_free_pte_range(pmd_t +@@ -21,6 +21,7 @@ + #include + #include + #include ++#include "internal.h" + + #include + +@@ -282,6 +283,7 @@ static int madvise_free_pte_range(pmd_t return 0; orig_pte = pte = pte_offset_map_lock(mm, pmd, addr, &ptl);