diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2018-02-13 16:08:22 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-03-30 15:07:10 +0200 |
commit | 29ab6c4708a587bc27ea0c765ac36aef9c1a77c9 (patch) | |
tree | a419cdb5fe2cbee88e54191a61322aa9ff7b0288 /arch/powerpc/include/asm/sparsemem.h | |
parent | powerpc/64s/radix: Allocate kernel page tables node-local if possible (diff) | |
download | linux-29ab6c4708a587bc27ea0c765ac36aef9c1a77c9.tar.xz linux-29ab6c4708a587bc27ea0c765ac36aef9c1a77c9.zip |
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>
Diffstat (limited to 'arch/powerpc/include/asm/sparsemem.h')
-rw-r--r-- | arch/powerpc/include/asm/sparsemem.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/sparsemem.h b/arch/powerpc/include/asm/sparsemem.h index a7916ee6dfb6..bc66712bdc3c 100644 --- a/arch/powerpc/include/asm/sparsemem.h +++ b/arch/powerpc/include/asm/sparsemem.h @@ -17,7 +17,7 @@ #endif /* CONFIG_SPARSEMEM */ #ifdef CONFIG_MEMORY_HOTPLUG -extern int create_section_mapping(unsigned long start, unsigned long end); +extern int create_section_mapping(unsigned long start, unsigned long end, int nid); extern int remove_section_mapping(unsigned long start, unsigned long end); #ifdef CONFIG_PPC_BOOK3S_64 |