diff options
| author | 2022-05-26 22:02:57 +0800 | |
|---|---|---|
| committer | 2022-06-16 19:48:27 -0700 | |
| commit | 0b82ade6c042907e4f24bbe826958a896d24700d (patch) | |
| tree | f4b5c379162f3442e03ec54f5f12e6d3e9e6ce1d /include/linux | |
| parent | mm/x86: remove dead code for hugetlbpage.c (diff) | |
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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
