Re: [PATCH 1/8] sparc/mm: remove register_page_bootmem_info()
From: Lance Yang
Date: Mon May 18 2026 - 02:55:39 EST
On Mon, May 11, 2026 at 04:05:29PM +0200, David Hildenbrand (Arm) wrote:
>sparc does not select CONFIG_HAVE_BOOTMEM_INFO_NODE, therefore,
>register_page_bootmem_info_node() is a nop.
>
>Let's just get rid of register_page_bootmem_info().
>
>Signed-off-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>
>---
Nice cleanup!
With CONFIG_NUMA=n, the removed helper did nothing.
With CONFIG_NUMA=y, it only looped over nodes and called the empty inline
stub.
So, feel free to add:
Reviewed-by: Lance Yang <lance.yang@xxxxxxxxx>