diff options
Diffstat (limited to 'arch/sh/mm')
-rw-r--r-- | arch/sh/mm/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/mm/init.c b/arch/sh/mm/init.c index b977475f7446..552bea5113f5 100644 --- a/arch/sh/mm/init.c +++ b/arch/sh/mm/init.c | |||
@@ -244,8 +244,8 @@ static void __init do_init_bootmem(void) | |||
244 | /* Add active regions with valid PFNs. */ | 244 | /* Add active regions with valid PFNs. */ |
245 | for_each_memblock(memory, reg) { | 245 | for_each_memblock(memory, reg) { |
246 | unsigned long start_pfn, end_pfn; | 246 | unsigned long start_pfn, end_pfn; |
247 | start_pfn = memblock_region_base_pfn(reg); | 247 | start_pfn = memblock_region_memory_base_pfn(reg); |
248 | end_pfn = memblock_region_end_pfn(reg); | 248 | end_pfn = memblock_region_memory_end_pfn(reg); |
249 | __add_active_range(0, start_pfn, end_pfn); | 249 | __add_active_range(0, start_pfn, end_pfn); |
250 | } | 250 | } |
251 | 251 | ||