Merge drm/drm-next into drm-intel-next-queued
[platform/kernel/linux-starfive.git] / mm / shmem.c
index d44991e..0e10b06 100644 (file)
@@ -756,7 +756,7 @@ void shmem_unlock_mapping(struct address_space *mapping)
                        break;
                index = indices[pvec.nr - 1] + 1;
                pagevec_remove_exceptionals(&pvec);
-               check_move_unevictable_pages(pvec.pages, pvec.nr);
+               check_move_unevictable_pages(&pvec);
                pagevec_release(&pvec);
                cond_resched();
        }