OSDN Git Service

powerpc/mm: fix missing prototypes in slice.c
authorChristophe Leroy <christophe.leroy@c-s.fr>
Fri, 22 Jun 2018 13:49:48 +0000 (13:49 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 20 Oct 2018 02:26:47 +0000 (13:26 +1100)
commitaa5456abdc20568f5da348209148a9c75a32468a
tree6d548030837e07e5ccb93ccd1b45d30e5ef66e16
parent8114c36ea6486aba2269d0590c5d553108ee9558
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 <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/slice.c