[PATCH] powerpc: fix udbg warning

Geoff Levand geoffrey.levand at am.sony.com
Mon Aug 7 06:49:03 EST 2006


Fix an implicit declaration warning in hash_utils_64.c
when udbg is enabled.

hash_utils_64.c: In function ‘htab_bolt_mapping’:
hash_utils_64.c:169: warning: implicit declaration of function ‘udbg_printf’


Signed-off-by: Geoff Levand <geoffrey.levand at am.sony.com>

---

Index: a/arch/powerpc/mm/hash_utils_64.c
===================================================================
--- a.orig/arch/powerpc/mm/hash_utils_64.c
+++ a/arch/powerpc/mm/hash_utils_64.c
@@ -51,6 +51,7 @@
 #include <asm/cputable.h>
 #include <asm/abs_addr.h>
 #include <asm/sections.h>
+#include <asm/udbg.h>

 #ifdef DEBUG
 #define DBG(fmt...) udbg_printf(fmt)




More information about the Linuxppc-dev mailing list