diff options
author | Ingo Molnar <mingo@kernel.org> | 2016-02-03 11:30:36 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-02-03 11:30:36 +0100 |
commit | 03e075b38e6cd25267c8d6e2797fa4537ca3348d (patch) | |
tree | 608ece74f1b3cca290e3408a29cf73e822f0ef4d /arch/mips/mm/cache.c | |
parent | x86/efi: Setup separate EFI page tables in kexec paths (diff) | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (diff) | |
download | linux-03e075b38e6cd25267c8d6e2797fa4537ca3348d.tar.xz linux-03e075b38e6cd25267c8d6e2797fa4537ca3348d.zip |
Merge branch 'linus' into efi/core, to refresh the branch and to pick up recent fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/mips/mm/cache.c')
-rw-r--r-- | arch/mips/mm/cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/mm/cache.c b/arch/mips/mm/cache.c index aab218c36e0d..3f159caf6dbc 100644 --- a/arch/mips/mm/cache.c +++ b/arch/mips/mm/cache.c @@ -106,7 +106,7 @@ void __flush_anon_page(struct page *page, unsigned long vmaddr) unsigned long addr = (unsigned long) page_address(page); if (pages_do_alias(addr, vmaddr)) { - if (page_mapped(page) && !Page_dcache_dirty(page)) { + if (page_mapcount(page) && !Page_dcache_dirty(page)) { void *kaddr; kaddr = kmap_coherent(page, vmaddr); |