summaryrefslogtreecommitdiff
path: root/arch/nds32/mm/cacheflush.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-04-12 09:15:27 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-04-12 09:15:27 +0300
commit14d34d2dbbe2d9144a65bae1549202d1717062e2 (patch)
tree8d8a84be09fa898bdfdf14e7783cd6b42d6bb0ed /arch/nds32/mm/cacheflush.c
parent3db53374405fbf7a474086ed984189f65b6f0008 (diff)
parentd434405aaab7d0ebc516b68a8fc4100922d7f5ef (diff)
downloadlinux-14d34d2dbbe2d9144a65bae1549202d1717062e2.tar.xz
Merge 5.12-rc7 into usb-next
We need the USB fixes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/nds32/mm/cacheflush.c')
-rw-r--r--arch/nds32/mm/cacheflush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/nds32/mm/cacheflush.c b/arch/nds32/mm/cacheflush.c
index 6eb98a7ad27d..ad5344ef5d33 100644
--- a/arch/nds32/mm/cacheflush.c
+++ b/arch/nds32/mm/cacheflush.c
@@ -238,7 +238,7 @@ void flush_dcache_page(struct page *page)
{
struct address_space *mapping;
- mapping = page_mapping(page);
+ mapping = page_mapping_file(page);
if (mapping && !mapping_mapped(mapping))
set_bit(PG_dcache_dirty, &page->flags);
else {