[PATCH 11/28] nios2: introduce arch_zone_limits_init()

Dinh Nguyen dinguyen at kernel.org
Mon Dec 29 05:55:22 PST 2025



On 12/28/25 06:39, Mike Rapoport wrote:
> From: "Mike Rapoport (Microsoft)" <rppt at kernel.org>
> 
> Move calculations of zone limits to a dedicated arch_zone_limits_init()
> function.
> 
> Later MM core will use this function as an architecture specific callback
> during nodes and zones initialization and thus there won't be a need to
> call free_area_init() from every architecture.
> 
> Signed-off-by: Mike Rapoport (Microsoft) <rppt at kernel.org>
> ---
>   arch/nios2/mm/init.c | 8 ++++++--
>   1 file changed, 6 insertions(+), 2 deletions(-)
> 

Acked-by: Dinh Nguyen <dinguyen at kernel.org>



More information about the linux-riscv mailing list