]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mm-rename-page-struct-field-helpers-fix
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 20 Feb 2013 02:14:48 +0000 (13:14 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:52:52 +0000 (16:52 +1100)
fix zcache

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/staging/zcache/zbud.c

index 328c397ea5dcf755f8a8073a032b92198762d9c7..fdff5c6a02396382a7d765461daa257a77f159ed 100644 (file)
@@ -404,7 +404,7 @@ static inline struct page *zbud_unuse_zbudpage(struct zbudpage *zbudpage,
        else
                zbud_pers_pageframes--;
        zbudpage_spin_unlock(zbudpage);
-       reset_page_mapcount(page);
+       page_mapcount_reset(page);
        init_page_count(page);
        page->index = 0;
        return page;