aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/powermac/pfunc_core.c
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2006-03-03 04:50:29 -0500
committerPaul Mackerras <paulus@samba.org>2006-03-03 04:50:29 -0500
commit76a0ee3d1633b035f4090ab591445ae7b087f129 (patch)
tree37e8862c5f30fdaea411450385ab576d722274ac /arch/powerpc/platforms/powermac/pfunc_core.c
parentcd8a5673e9abb3fde0a1c25ee63a60fe1908c6f5 (diff)
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 356a739e52b..4baa75b1d36 100644
--- a/arch/powerpc/platforms/powermac/pfunc_core.c
+++ b/arch/powerpc/platforms/powermac/pfunc_core.c
@@ -20,7 +20,13 @@
20#define LOG_PARSE(fmt...) 20#define LOG_PARSE(fmt...)
21#define LOG_ERROR(fmt...) printk(fmt) 21#define LOG_ERROR(fmt...) printk(fmt)
22#define LOG_BLOB(t,b,c) 22#define LOG_BLOB(t,b,c)
23
24#undef DEBUG
25#ifdef DEBUG
23#define DBG(fmt...) printk(fmt) 26#define DBG(fmt...) printk(fmt)
27#else
28#define DBG(fmt...)
29#endif
24 30
25/* Command numbers */ 31/* Command numbers */
26#define PMF_CMD_LIST 0 32#define PMF_CMD_LIST 0