diff options
author | will schmidt <will_schmidt@vnet.ibm.com> | 2007-10-29 19:24:19 (GMT) |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-11-08 03:15:31 (GMT) |
commit | aa39be09dfd7e95509cadcdb99cf7eb470d83c46 (patch) | |
tree | 25533218718d2580bfd6ab1c1ac841987d892864 /arch/powerpc/platforms | |
parent | 20474abda6bb11396434593daf2f52679cf62edf (diff) | |
download | linux-aa39be09dfd7e95509cadcdb99cf7eb470d83c46.tar.xz |
[POWERPC] Include udbg.h when using udbg_printf
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>
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r-- | arch/powerpc/platforms/cell/smp.c | 1 | ||||
-rw-r--r-- | arch/powerpc/platforms/pseries/firmware.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/cell/smp.c b/arch/powerpc/platforms/cell/smp.c index 1c0acba..e443845 100644 --- a/arch/powerpc/platforms/cell/smp.c +++ b/arch/powerpc/platforms/cell/smp.c @@ -44,6 +44,7 @@ #include <asm/rtas.h> #include "interrupt.h" +#include <asm/udbg.h> #ifdef DEBUG #define DBG(fmt...) udbg_printf(fmt) diff --git a/arch/powerpc/platforms/pseries/firmware.c b/arch/powerpc/platforms/pseries/firmware.c index 8b18a1c..b765b7c 100644 --- a/arch/powerpc/platforms/pseries/firmware.c +++ b/arch/powerpc/platforms/pseries/firmware.c @@ -25,6 +25,7 @@ #include <asm/firmware.h> #include <asm/prom.h> +#include <asm/udbg.h> #ifdef DEBUG #define DBG(fmt...) udbg_printf(fmt) |