Skip to content
Commit 42e31f0d authored by Oscar Salvador's avatar Oscar Salvador Committed by Mike Rapoport (Microsoft)
Browse files

mm,mm_init: Mark set_high_memory as __init



set_high_memory() touches arch_zone_lowest_possible_pfn which is
marked as __initdata, which creates a section mismatch.
Since the only user of the function is free_area_init() which is also marked
as __init, mark set_high_memory() as __init as well.

Signed-off-by: default avatarOscar Salvador <osalvador@suse.de>
Reported-by: default avatarkernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202505060901.Qcs06UoB-lkp@intel.com/
Link: https://lore.kernel.org/r/20250506111012.108743-1-osalvador@suse.de


Signed-off-by: default avatarMike Rapoport (Microsoft) <rppt@kernel.org>
parent 92a09c47
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment