diff options
Diffstat (limited to 'arch/sh/mm/init.c')
-rw-r--r-- | arch/sh/mm/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/mm/init.c b/arch/sh/mm/init.c index 33890fd267cb..2d089fe2cba9 100644 --- a/arch/sh/mm/init.c +++ b/arch/sh/mm/init.c | |||
@@ -231,7 +231,7 @@ static void __init bootmem_init_one_node(unsigned int nid) | |||
231 | if (!p->node_spanned_pages) | 231 | if (!p->node_spanned_pages) |
232 | return; | 232 | return; |
233 | 233 | ||
234 | end_pfn = p->node_start_pfn + p->node_spanned_pages; | 234 | end_pfn = pgdat_end_pfn(p); |
235 | 235 | ||
236 | total_pages = bootmem_bootmap_pages(p->node_spanned_pages); | 236 | total_pages = bootmem_bootmap_pages(p->node_spanned_pages); |
237 | 237 | ||