aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/powermac/pfunc_core.c
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2006-03-03 20:50:29 +1100
committerPaul Mackerras <paulus@samba.org>2006-03-03 20:50:29 +1100
commit76a0ee3d1633b035f4090ab591445ae7b087f129 (patch)
tree37e8862c5f30fdaea411450385ab576d722274ac /arch/powerpc/platforms/powermac/pfunc_core.c
parentpowerpc: Fix might-sleep warning in program check exception handler (diff)
downloadlinux-dev-76a0ee3d1633b035f4090ab591445ae7b087f129.tar.xz
linux-dev-76a0ee3d1633b035f4090ab591445ae7b087f129.zip
powerpc: Turn off verbose debug output in powermac platform functions
This is along the lines suggested by Chris Lumens but goes further in that it leaves the DEBUG symbol undefined, making the DBG macro empty. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/powermac/pfunc_core.c')
-rw-r--r--arch/powerpc/platforms/powermac/pfunc_core.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/powermac/pfunc_core.c b/arch/powerpc/platforms/powermac/pfunc_core.c
index 356a739e52b2..4baa75b1d36f 100644
--- a/arch/powerpc/platforms/powermac/pfunc_core.c
+++ b/arch/powerpc/platforms/powermac/pfunc_core.c
@@ -20,7 +20,13 @@
#define LOG_PARSE(fmt...)
#define LOG_ERROR(fmt...) printk(fmt)
#define LOG_BLOB(t,b,c)
+
+#undef DEBUG
+#ifdef DEBUG
#define DBG(fmt...) printk(fmt)
+#else
+#define DBG(fmt...)
+#endif
/* Command numbers */
#define PMF_CMD_LIST 0