Subject: [PATCH] powerpc: fix udbg warning

From: Geoff Levand <[email-masked]>
Date: Sun, 06 Aug 2006 13:49:03 -0700

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 <[email-masked]>

---

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)