From: Christophe Leroy Date: Sat, 5 Jun 2021 08:56:09 +0000 (+0000) Subject: powerpc/mem: Add back missing header to fix 'no previous prototype' error X-Git-Tag: accepted/tizen/unified/20230118.172025~7047^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8e11d62e2e8769fe29d1ae98b44b23c7233eb8a2;p=platform%2Fkernel%2Flinux-rpi.git powerpc/mem: Add back missing header to fix 'no previous prototype' error Commit b26e8f27253a ("powerpc/mem: Move cache flushing functions into mm/cacheflush.c") removed asm/sparsemem.h which is required when CONFIG_MEMORY_HOTPLUG is selected to get the declaration of create_section_mapping(). Add it back. Fixes: b26e8f27253a ("powerpc/mem: Move cache flushing functions into mm/cacheflush.c") Reported-by: kernel test robot Signed-off-by: Christophe Leroy Signed-off-by: Michael Ellerman Link: https://lore.kernel.org/r/3e5b63bb3daab54a1eb9c20221c2e9528c4db9b3.1622883330.git.christophe.leroy@csgroup.eu --- diff --git a/arch/powerpc/mm/mem.c b/arch/powerpc/mm/mem.c index 043bbea..a6b36a4 100644 --- a/arch/powerpc/mm/mem.c +++ b/arch/powerpc/mm/mem.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include