aboutsummaryrefslogtreecommitdiffstats
path: root/mm/swap.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/swap.c')
-rw-r--r--mm/swap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/swap.c b/mm/swap.c
index 9e0cb3118079..82c2b3a76f94 100644
--- a/mm/swap.c
+++ b/mm/swap.c
@@ -117,7 +117,7 @@ static void pagevec_move_tail(struct pagevec *pvec)
117 spin_lock(&zone->lru_lock); 117 spin_lock(&zone->lru_lock);
118 } 118 }
119 if (PageLRU(page) && !PageActive(page)) { 119 if (PageLRU(page) && !PageActive(page)) {
120 list_move_tail(&page->lru, &zone->inactive_list); 120 list_move_tail(&page->lru, &zone->lru[LRU_INACTIVE].list);
121 pgmoved++; 121 pgmoved++;
122 } 122 }
123 } 123 }