From: Christophe Leroy Date: Fri, 22 Jun 2018 13:49:48 +0000 (+0000) Subject: powerpc/mm: fix missing prototypes in slice.c X-Git-Tag: v4.20-rc1~97^2~23 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=aa5456abdc20568f5da348209148a9c75a32468a;p=thirdparty%2Fkernel%2Flinux.git powerpc/mm: fix missing prototypes in slice.c This patch fixes the following warnings (obtained with make W=1). arch/powerpc/mm/slice.c: At top level: arch/powerpc/mm/slice.c:682:15: error: no previous prototype for 'arch_get_unmapped_area' [-Werror=missing-prototypes] unsigned long arch_get_unmapped_area(struct file *filp, ^ arch/powerpc/mm/slice.c:692:15: error: no previous prototype for 'arch_get_unmapped_area_topdown' [-Werror=missing-prototypes] unsigned long arch_get_unmapped_area_topdown(struct file *filp, ^ Signed-off-by: Christophe Leroy Signed-off-by: Michael Ellerman --- diff --git a/arch/powerpc/mm/slice.c b/arch/powerpc/mm/slice.c index 50ba3d0456a53..8dafb426554dd 100644 --- a/arch/powerpc/mm/slice.c +++ b/arch/powerpc/mm/slice.c @@ -31,6 +31,7 @@ #include #include #include +#include #include #include #include