]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - mm/swap_state.c
vmscan: add newly swapped in pages to the inactive list
[linux-2.6-omap-h63xx.git] / mm / swap_state.c
index ea62084ed402aa1b64fa964513605b7738fb91f2..43cda7b4b808b3d666f6663c644d0ba894740261 100644 (file)
@@ -310,7 +310,7 @@ struct page *read_swap_cache_async(swp_entry_t entry, gfp_t gfp_mask,
                        /*
                         * Initiate read into locked page and return.
                         */
-                       lru_cache_add_active_anon(new_page);
+                       lru_cache_add_anon(new_page);
                        swap_readpage(NULL, new_page);
                        return new_page;
                }