diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c index fa08236a90366ad97a75f29248eff67354e78bd7..cd2a81e8b4295ebcd5b001c9ba4db55c43410435 100644 --- a/mm/zsmalloc.c +++ b/mm/zsmalloc.c @@ -937,8 +937,8 @@ static void unpin_tag(unsigned long handle) static void reset_page(struct page *page) { __ClearPageMovable(page); - clear_bit(PG_private, &page->flags); - clear_bit(PG_private_2, &page->flags); + ClearPagePrivate(page); + ClearPagePrivate2(page); set_page_private(page, 0); page_mapcount_reset(page); ClearPageHugeObject(page);