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

Mike Rapoport
2026-04-28T07:17:28Z

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@bytedance.com>

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

Reviewed-by: Mike Rapoport (Microsoft) <rppt@kernel.org>

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

--
Sincerely yours,
Mike.