Commit 236a4c63 authored by Michael Ellerman's avatar Michael Ellerman

powerpc: Mark memory_limit as initdata

The `memory_limit` variable should only be used during boot, enforce
that by marking it initdata.
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20240422115231.1769984-1-mpe@ellerman.id.au
parent 84030aac
......@@ -30,7 +30,7 @@
#include <mm/mmu_decl.h>
unsigned long long memory_limit;
unsigned long long memory_limit __initdata;
unsigned long empty_zero_page[PAGE_SIZE / sizeof(unsigned long)] __page_aligned_bss;
EXPORT_SYMBOL(empty_zero_page);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment