powerpc/mm: Pass node id into create_section_mapping
Signed-off-by: Nicholas Piggin <npiggin@gmail.com> [mpe: Move __map_kernel_page_nid() inside #ifdef SPARSEMEM_VMEMMAP] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:

committed by
Michael Ellerman

parent
2ad452ffaa
commit
29ab6c4708
@@ -155,12 +155,12 @@ void mmu_cleanup_all(void)
|
||||
}
|
||||
|
||||
#ifdef CONFIG_MEMORY_HOTPLUG
|
||||
int create_section_mapping(unsigned long start, unsigned long end)
|
||||
int create_section_mapping(unsigned long start, unsigned long end, int nid)
|
||||
{
|
||||
if (radix_enabled())
|
||||
return radix__create_section_mapping(start, end);
|
||||
return radix__create_section_mapping(start, end, nid);
|
||||
|
||||
return hash__create_section_mapping(start, end);
|
||||
return hash__create_section_mapping(start, end, nid);
|
||||
}
|
||||
|
||||
int remove_section_mapping(unsigned long start, unsigned long end)
|
||||
|
Reference in New Issue
Block a user