]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mm-rename-page-struct-field-helpers-fix
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 7 Feb 2013 01:26:59 +0000 (12:26 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 18 Feb 2013 05:46:46 +0000 (16:46 +1100)
fix zcache

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

index ee927e8b19bd68d45782a921b51b912f400c737b..81b540ecfb071ab33af587b94cd815a13dfe5213 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;