drm/panel: panel-simple: Fix proper bpc for ytc700tlag_05_201c
[linux-2.6-microblaze.git] / mm / swap.c
index dfb48cf..1960043 100644 (file)
--- a/mm/swap.c
+++ b/mm/swap.c
@@ -95,7 +95,7 @@ static void __put_single_page(struct page *page)
 {
        __page_cache_release(page);
        mem_cgroup_uncharge(page);
-       free_unref_page(page);
+       free_unref_page(page, 0);
 }
 
 static void __put_compound_page(struct page *page)
@@ -313,7 +313,7 @@ void lru_note_cost(struct lruvec *lruvec, bool file, unsigned int nr_pages)
 
 void lru_note_cost_page(struct page *page)
 {
-       lru_note_cost(mem_cgroup_page_lruvec(page, page_pgdat(page)),
+       lru_note_cost(mem_cgroup_page_lruvec(page),
                      page_is_file_lru(page), thp_nr_pages(page));
 }
 
@@ -554,7 +554,7 @@ static void lru_deactivate_file_fn(struct page *page, struct lruvec *lruvec)
        } else {
                /*
                 * The page's writeback ends up during pagevec
-                * We moves tha page into tail of inactive.
+                * We move that page into tail of inactive.
                 */
                add_page_to_lru_list_tail(page, lruvec);
                __count_vm_events(PGROTATED, nr_pages);