summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/slb.c
diff options
context:
space:
mode:
authorwill schmidt <will_schmidt@vnet.ibm.com>2007-10-30 06:24:19 +1100
committerPaul Mackerras <paulus@samba.org>2007-11-08 14:15:31 +1100
commitaa39be09dfd7e95509cadcdb99cf7eb470d83c46 (patch)
tree25533218718d2580bfd6ab1c1ac841987d892864 /arch/powerpc/mm/slb.c
parent20474abda6bb11396434593daf2f52679cf62edf (diff)
downloadlinux-aa39be09dfd7e95509cadcdb99cf7eb470d83c46.tar.gz
linux-aa39be09dfd7e95509cadcdb99cf7eb470d83c46.tar.bz2
linux-aa39be09dfd7e95509cadcdb99cf7eb470d83c46.zip
[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/mm/slb.c')
-rw-r--r--arch/powerpc/mm/slb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/mm/slb.c b/arch/powerpc/mm/slb.c
index bbd2c512ee05..637afb2386b7 100644
--- a/arch/powerpc/mm/slb.c
+++ b/arch/powerpc/mm/slb.c
@@ -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)