[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201009135914.64826-1-linmiaohe@huawei.com>
Date: Fri, 9 Oct 2020 09:59:14 -0400
From: Miaohe Lin <linmiaohe@...wei.com>
To: <akpm@...ux-foundation.org>, <sfr@...b.auug.org.au>,
<ziy@...dia.com>, <alexander.h.duyck@...ux.intel.com>,
<willy@...radead.org>, <osalvador@...e.de>, <steven.price@....com>,
<ying.huang@...el.com>, <yang.shi@...ux.alibaba.com>,
<david@...hat.com>
CC: <linux-mm@...ck.org>, <linux-kernel@...r.kernel.org>,
<linmiaohe@...wei.com>
Subject: [PATCH] page-flags: Remove unused __[Set|Clear]PagePrivate
They are unused anymore.
Signed-off-by: Miaohe Lin <linmiaohe@...wei.com>
---
include/linux/page-flags.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h
index 4f6ba9379112..50cbf5e931bc 100644
--- a/include/linux/page-flags.h
+++ b/include/linux/page-flags.h
@@ -363,8 +363,7 @@ PAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL)
* for its own purposes.
* - PG_private and PG_private_2 cause releasepage() and co to be invoked
*/
-PAGEFLAG(Private, private, PF_ANY) __SETPAGEFLAG(Private, private, PF_ANY)
- __CLEARPAGEFLAG(Private, private, PF_ANY)
+PAGEFLAG(Private, private, PF_ANY)
PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY)
PAGEFLAG(OwnerPriv1, owner_priv_1, PF_ANY)
TESTCLEARFLAG(OwnerPriv1, owner_priv_1, PF_ANY)
--
2.19.1
Powered by blists - more mailing lists