diff options
author | Paul Mackerras <paulus@samba.org> | 2006-03-03 20:50:29 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-03-03 20:50:29 +1100 |
commit | 76a0ee3d1633b035f4090ab591445ae7b087f129 (patch) | |
tree | 37e8862c5f30fdaea411450385ab576d722274ac /arch/powerpc/platforms/powermac/pfunc_base.c | |
parent | cd8a5673e9abb3fde0a1c25ee63a60fe1908c6f5 (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_base.c')
-rw-r--r-- | arch/powerpc/platforms/powermac/pfunc_base.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/powermac/pfunc_base.c b/arch/powerpc/platforms/powermac/pfunc_base.c index 4ffd2a9832a..9b7150f1041 100644 --- a/arch/powerpc/platforms/powermac/pfunc_base.c +++ b/arch/powerpc/platforms/powermac/pfunc_base.c @@ -9,7 +9,12 @@ #include <asm/pmac_feature.h> #include <asm/pmac_pfunc.h> +#undef DEBUG +#ifdef DEBUG #define DBG(fmt...) printk(fmt) +#else +#define DBG(fmt...) +#endif static irqreturn_t macio_gpio_irq(int irq, void *data, struct pt_regs *regs) { |