projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5906b0a
)
powerpc: Make add_system_ram_resources() __init
author
Geert Uytterhoeven
<geert@linux-m68k.org>
Sun, 15 Sep 2013 09:39:36 +0000
(11:39 +0200)
committer
Benjamin Herrenschmidt
<benh@kernel.crashing.org>
Wed, 15 Jan 2014 02:58:52 +0000
(13:58 +1100)
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>
arch/powerpc/mm/mem.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/mm/mem.c
b/arch/powerpc/mm/mem.c
index
3fa93dc
..
9c25feb
100644
(file)
--- 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;