Re: [PATCH 1/8] sparc/mm: remove register_page_bootmem_info()
Lance Yang <[email protected]> Mon, 18 May 2026 14:55:06 +0800
| Newsgroups | gmane.linux.ports.sparc,gmane.linux.kernel,gmane.linux.kernel.mm,gmane.linux.ports.ppc64.devel |
|---|---|
| Message-ID | <[email protected]> |
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) <[email protected]> >--- 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 <[email protected]>