Re: [PATCH 12/49] mm: make set_pageblock_order() static

From: Mike Rapoport

Date: Tue Apr 28 2026 - 03:24:18 EST


On Sun, Apr 05, 2026 at 08:52:03PM +0800, Muchun Song wrote:
> Since set_pageblock_order() is only used in mm/mm_init.c now, make it
> static and remove its declaration from mm/internal.h.
> Signed-off-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>

The removal of set_pageblock_order() from sparse.c should be moved here as
well :)
With that

Reviewed-by: Mike Rapoport (Microsoft) <rppt@xxxxxxxxxx>

> ---
> mm/internal.h | 1 -
> mm/mm_init.c | 4 ++--
> 2 files changed, 2 insertions(+), 3 deletions(-)

--
Sincerely yours,
Mike.