Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4f770924 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Benjamin Herrenschmidt
Browse files

powerpc: Make add_system_ram_resources() __init



add_system_ram_resources() is a subsys_initcall.

Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 5906b0a7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -507,7 +507,7 @@ void update_mmu_cache(struct vm_area_struct *vma, unsigned long address,
 * System memory should not be in /proc/iomem but various tools expect it
 * (eg kdump).
 */
static int add_system_ram_resources(void)
static int __init add_system_ram_resources(void)
{
	struct memblock_region *reg;