]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[POWERPC] Include udbg.h when using udbg_printf
authorwill schmidt <will_schmidt@vnet.ibm.com>
Mon, 29 Oct 2007 19:24:19 +0000 (06:24 +1100)
committerPaul Mackerras <paulus@samba.org>
Thu, 8 Nov 2007 03:15:31 +0000 (14:15 +1100)
This fixes the error
error: implicit declaration of function "udbg_printf"

We have a few spots where we reference udbg_printf() without #including
udbg.h.  These are within #ifdef DEBUG blocks, so unnoticed until we do
a #define DEBUG or #define DEBUG_LOW nearby.

Signed-off-by: Will Schmidt <will_schmidt@vnet.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/mm/hash_utils_64.c
arch/powerpc/mm/slb.c
arch/powerpc/platforms/cell/smp.c
arch/powerpc/platforms/pseries/firmware.c

index c5a603fdb22d0121cd47aa3d31d10e1ca4d6f19d..f09730bf3a335bc20de567bd5e596b727317faca 100644 (file)
@@ -51,6 +51,7 @@
 #include <asm/cputable.h>
 #include <asm/sections.h>
 #include <asm/spu.h>
+#include <asm/udbg.h>
 
 #ifdef DEBUG
 #define DBG(fmt...) udbg_printf(fmt)
index bbd2c512ee0530ded1aa374242b06cce5b4f319b..637afb2386b703cdfb5e603f3861db8fcda7b466 100644 (file)
@@ -25,6 +25,7 @@
 #include <asm/smp.h>
 #include <asm/firmware.h>
 #include <linux/compiler.h>
+#include <asm/udbg.h>
 
 #ifdef DEBUG
 #define DBG(fmt...) udbg_printf(fmt)
index 1c0acbad7425b63e194726b109e95a01422c3bc2..e4438456c8675c8917052ba9e95cdd8a9e828809 100644 (file)
@@ -44,6 +44,7 @@
 #include <asm/rtas.h>
 
 #include "interrupt.h"
+#include <asm/udbg.h>
 
 #ifdef DEBUG
 #define DBG(fmt...) udbg_printf(fmt)
index 8b18a1c40092c5e7c68402c8ce78a1232a67ef41..b765b7c77b65ddacdeb806ce10904d6e5697ea42 100644 (file)
@@ -25,6 +25,7 @@
 
 #include <asm/firmware.h>
 #include <asm/prom.h>
+#include <asm/udbg.h>
 
 #ifdef DEBUG
 #define DBG(fmt...) udbg_printf(fmt)