Re: [PATCH] powerpc: Mark memory_limit as initdata

2024-05-03 Thread Michael Ellerman
On Mon, 22 Apr 2024 21:52:31 +1000, Michael Ellerman wrote: > The `memory_limit` variable should only be used during boot, enforce > that by marking it initdata. > > Applied to powerpc/next. [1/1] powerpc: Mark memory_limit as initdata https://git.kernel.org/powerpc/c/236a4c63491784ae4814

[PATCH] powerpc: Mark memory_limit as initdata

2024-04-22 Thread Michael Ellerman
The `memory_limit` variable should only be used during boot, enforce that by marking it initdata. Signed-off-by: Michael Ellerman --- arch/powerpc/mm/mem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/mm/mem.c b/arch/powerpc/mm/mem.c index 3a440004b97d..12316a