diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/mlock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/mlock.c b/mm/mlock.c index b5d7dab835c0..316a5bf4fb91 100644 --- a/mm/mlock.c +++ b/mm/mlock.c @@ -95,9 +95,9 @@ void mlock_vma_page(struct page *page) static bool __munlock_isolate_lru_page(struct page *page, bool getpage) { if (PageLRU(page)) { - struct lruvec *lruvec = mem_cgroup_page_lruvec(page, - page_zone(page)); + struct lruvec *lruvec; + lruvec = mem_cgroup_page_lruvec(page, page_zone(page)); if (getpage) get_page(page); ClearPageLRU(page); |