summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/mem.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2013-09-15 11:39:36 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-01-15 13:58:52 +1100
commit4f7709248db7402507a2a5164f86ad4c75a1926b (patch)
treee9a711fae8f3daca95fa4fbb7146818ed32b8749 /arch/powerpc/mm/mem.c
parent5906b0a7018f7debcb41110f64304a6484116dbf (diff)
downloadblackbird-op-linux-4f7709248db7402507a2a5164f86ad4c75a1926b.tar.gz
blackbird-op-linux-4f7709248db7402507a2a5164f86ad4c75a1926b.zip
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.c2
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,
* 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;
OpenPOWER on IntegriCloud