aboutsummaryrefslogtreecommitdiff
path: root/arch/sh
diff options
context:
space:
mode:
authorGravatar Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2014-09-14 22:17:40 -0700
committerGravatar Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2014-09-14 22:17:40 -0700
commit882ebfc28c389be86535bda4a7d9e407020356bf (patch)
treee8f3ddeda13196f40040f3ba4701ece5d38c63cc /arch/sh
parentmips/uapi: Add definition of TIOC[SG]RS485 (diff)
parentLinux 3.17-rc5 (diff)
downloadlinux-882ebfc28c389be86535bda4a7d9e407020356bf.tar.gz
linux-882ebfc28c389be86535bda4a7d9e407020356bf.tar.bz2
linux-882ebfc28c389be86535bda4a7d9e407020356bf.zip
Merge 3.17-rc5 into tty-next
We want those fixes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/mm/gup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/mm/gup.c b/arch/sh/mm/gup.c
index bf8daf9d9c9b..37458f38b220 100644
--- a/arch/sh/mm/gup.c
+++ b/arch/sh/mm/gup.c
@@ -105,6 +105,8 @@ static noinline int gup_pte_range(pmd_t pmd, unsigned long addr,
VM_BUG_ON(!pfn_valid(pte_pfn(pte)));
page = pte_page(pte);
get_page(page);
+ __flush_anon_page(page, addr);
+ flush_dcache_page(page);
pages[*nr] = page;
(*nr)++;