powerpc: Make add_system_ram_resources() __init

add_system_ram_resources() is a subsys_initcall.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
Geert Uytterhoeven 2013-09-15 11:39:36 +02:00 committed by Benjamin Herrenschmidt
parent 5906b0a701
commit 4f7709248d
1 changed files with 1 additions and 1 deletions

View File

@ -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;