]> git.baikalelectronics.ru Git - kernel.git/commit
mm: use PAGE_ALIGNED instead of IS_ALIGNED
authorFanjun Kong <bh1scw@gmail.com>
Thu, 26 May 2022 14:02:57 +0000 (22:02 +0800)
committerakpm <akpm@linux-foundation.org>
Fri, 17 Jun 2022 02:48:27 +0000 (19:48 -0700)
commita1b87fe2d707e595cf1a10cb79af67d5d9d833cc
treef4b5c379162f3442e03ec54f5f12e6d3e9e6ce1d
parent532c5d7b40ba84b74e9c62f7570d38bdf01e0fc5
mm: use PAGE_ALIGNED instead of IS_ALIGNED

<linux/mm.h> already provides the PAGE_ALIGNED macro.  Let's use this
macro instead of IS_ALIGNED and passing PAGE_SIZE directly.

Link: https://lkml.kernel.org/r/20220526140257.1568744-1-bh1scw@gmail.com
Signed-off-by: Fanjun Kong <bh1scw@gmail.com>
Acked-by: Muchun Song <songmuchun@bytedance.com>
Reviewed-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/sparse-vmemmap.c