mm-use-page_aligned-instead-of-is_aligned.patch removed from -mm tree
The quilt patch titled
Subject: mm: use PAGE_ALIGNED instead of IS_ALIGNED
has been removed from the -mm tree. Its filename was
mm-use-page_aligned-instead-of-is_aligned.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Fanjun Kong <[email protected]>
Subject: mm: use PAGE_ALIGNED instead of IS_ALIGNED
Date: Thu, 26 May 2022 22:02:57 +0800
<linux/mm.h> already provides the PAGE_ALIGNED macro. Let's use this macro instead of IS_ALIGNED and passing PAGE_SIZE directly.
Signed-off-by Fanjun Kong <[email protected]>
Acked-by Muchun Song <[email protected]>
Reviewed-by Miaohe Lin <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/sparse-vmemmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
mm/sparse-vmemmap.c renamed from mm/sparse-vmemmap.c~mm-use-page_aligned-instead-of-is_aligned +2 -2
@@ -200,8 +200,8 @@ static int vmemmap_remap_range(unsignedunsigned long next;pgd_t *pgd; -VM_BUG_ON (!IS_ALIGNED (start,PAGE_SIZE )); -VM_BUG_ON (!IS_ALIGNED (end,PAGE_SIZE )); +VM_BUG_ON (!PAGE_ALIGNED (start)); +VM_BUG_ON (!PAGE_ALIGNED (end)); pgd =pgd_offset_k (addr); do {
_
Patches currently in -mm which might be from [email protected] are