aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathieu Malaterre <malat@debian.org>2018-04-04 22:11:42 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2018-05-25 12:04:43 +1000
commit3fc5ee9b2846db2eaddeadf089ef258167c4ee09 (patch)
treea31af8217042c23b48e7713ceddd70fd6cab4e2c
parentpowerpc/52xx: Add missing functions prototypes (diff)
downloadlinux-dev-3fc5ee9b2846db2eaddeadf089ef258167c4ee09.tar.xz
linux-dev-3fc5ee9b2846db2eaddeadf089ef258167c4ee09.zip
powerpc: Add missing prototype
Add one missing prototype for function rh_dump_blk. Fix warning treated as error in W=1: arch/powerpc/lib/rheap.c:740:6: error: no previous prototype for ‘rh_dump_blk’ [-Werror=missing-prototypes] Suggested-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Mathieu Malaterre <malat@debian.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
-rw-r--r--arch/powerpc/include/asm/rheap.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/rheap.h b/arch/powerpc/include/asm/rheap.h
index 172381769cfc..8e83703d6736 100644
--- a/arch/powerpc/include/asm/rheap.h
+++ b/arch/powerpc/include/asm/rheap.h
@@ -83,6 +83,9 @@ extern int rh_get_stats(rh_info_t * info, int what, int max_stats,
/* Simple dump of remote heap info */
extern void rh_dump(rh_info_t * info);
+/* Simple dump of remote info block */
+void rh_dump_blk(rh_info_t *info, rh_block_t *blk);
+
/* Set owner of taken block */
extern int rh_set_owner(rh_info_t * info, unsigned long start, const char *owner);