From: Geert Uytterhoeven Date: Sun, 15 Sep 2013 09:39:36 +0000 (+0200) Subject: powerpc: Make add_system_ram_resources() __init X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4f7709248db7402507a2a5164f86ad4c75a1926b;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git powerpc: Make add_system_ram_resources() __init add_system_ram_resources() is a subsys_initcall. Signed-off-by: Geert Uytterhoeven Signed-off-by: Benjamin Herrenschmidt --- diff --git a/arch/powerpc/mm/mem.c b/arch/powerpc/mm/mem.c index 3fa93dc7fe75..9c25feba7c40 100644 --- a/arch/powerpc/mm/mem.c +++ b/arch/powerpc/mm/mem.c @@ -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;