Skip to content

Commit 1164485

Browse files
chleroygregkh
authored andcommitted
powerpc/mem: Fix arch/powerpc/mm/mem.c:53:12: error: no previous prototype for 'create_section_mapping'
[ Upstream commit 7eff9bc ] Commit 8e11d62 ("powerpc/mem: Add back missing header to fix 'no previous prototype' error") was supposed to fix the problem, but in the meantime commit a927bd6 ("mm: fix phys_to_target_node() and* memory_add_physaddr_to_nid() exports") moved create_section_mapping() prototype from asm/sparsemem.h to asm/mmzone.h Fixes: 8e11d62 ("powerpc/mem: Add back missing header to fix 'no previous prototype' error") Reported-by: kernel test robot <[email protected]> Signed-off-by: Christophe Leroy <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/025754fde3d027904ae9d0191f395890bec93369.1631541649.git.christophe.leroy@csgroup.eu Signed-off-by: Sasha Levin <[email protected]>
1 parent 62a1c92 commit 1164485

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/powerpc/mm/mem.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
#include <asm/machdep.h>
2121
#include <asm/rtas.h>
2222
#include <asm/kasan.h>
23-
#include <asm/sparsemem.h>
2423
#include <asm/svm.h>
24+
#include <asm/mmzone.h>
2525

2626
#include <mm/mmu_decl.h>
2727

0 commit comments

Comments
 (0)