diff options
Diffstat (limited to 'arch/powerpc/mm/mem.c')
-rw-r--r-- | arch/powerpc/mm/mem.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/mm/mem.c b/arch/powerpc/mm/mem.c index 6f55efd9be95..2ead0951823a 100644 --- a/arch/powerpc/mm/mem.c +++ b/arch/powerpc/mm/mem.c | |||
@@ -127,6 +127,9 @@ int __devinit add_memory(u64 start, u64 size) | |||
127 | unsigned long start_pfn = start >> PAGE_SHIFT; | 127 | unsigned long start_pfn = start >> PAGE_SHIFT; |
128 | unsigned long nr_pages = size >> PAGE_SHIFT; | 128 | unsigned long nr_pages = size >> PAGE_SHIFT; |
129 | 129 | ||
130 | start += KERNELBASE; | ||
131 | create_section_mapping(start, start + size); | ||
132 | |||
130 | /* this should work for most non-highmem platforms */ | 133 | /* this should work for most non-highmem platforms */ |
131 | zone = pgdata->node_zones; | 134 | zone = pgdata->node_zones; |
132 | 135 | ||