diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2013-09-15 05:39:36 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-01-14 21:58:52 -0500 |
commit | 4f7709248db7402507a2a5164f86ad4c75a1926b (patch) | |
tree | e9a711fae8f3daca95fa4fbb7146818ed32b8749 /arch/powerpc/mm/mem.c | |
parent | 5906b0a7018f7debcb41110f64304a6484116dbf (diff) |
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>
Diffstat (limited to 'arch/powerpc/mm/mem.c')
-rw-r--r-- | arch/powerpc/mm/mem.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
507 | * System memory should not be in /proc/iomem but various tools expect it | 507 | * System memory should not be in /proc/iomem but various tools expect it |
508 | * (eg kdump). | 508 | * (eg kdump). |
509 | */ | 509 | */ |
510 | static int add_system_ram_resources(void) | 510 | static int __init add_system_ram_resources(void) |
511 | { | 511 | { |
512 | struct memblock_region *reg; | 512 | struct memblock_region *reg; |
513 | 513 | ||