diff options
Diffstat (limited to 'arch/metag/mm/numa.c')
-rw-r--r-- | arch/metag/mm/numa.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/metag/mm/numa.c b/arch/metag/mm/numa.c index b172aa45fcf..67b46c29507 100644 --- a/arch/metag/mm/numa.c +++ b/arch/metag/mm/numa.c @@ -42,7 +42,8 @@ void __init setup_bootmem_node(int nid, unsigned long start, unsigned long end) memblock_add(start, end - start); memblock_set_node(PFN_PHYS(start_pfn), - PFN_PHYS(end_pfn - start_pfn), nid); + PFN_PHYS(end_pfn - start_pfn), + &memblock.memory, nid); /* Node-local pgdat */ pgdat_paddr = memblock_alloc_base(sizeof(struct pglist_data), |