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>

+11
+5
arch/powerpc/platforms/powermac/pfunc_base.c
··· 9 #include <asm/pmac_feature.h> 10 #include <asm/pmac_pfunc.h> 11 12 #define DBG(fmt...) printk(fmt) 13 14 static irqreturn_t macio_gpio_irq(int irq, void *data, struct pt_regs *regs) 15 {
··· 9 #include <asm/pmac_feature.h> 10 #include <asm/pmac_pfunc.h> 11 12 + #undef DEBUG 13 + #ifdef DEBUG 14 #define DBG(fmt...) printk(fmt) 15 + #else 16 + #define DBG(fmt...) 17 + #endif 18 19 static irqreturn_t macio_gpio_irq(int irq, void *data, struct pt_regs *regs) 20 {
+6
arch/powerpc/platforms/powermac/pfunc_core.c
··· 20 #define LOG_PARSE(fmt...) 21 #define LOG_ERROR(fmt...) printk(fmt) 22 #define LOG_BLOB(t,b,c) 23 #define DBG(fmt...) printk(fmt) 24 25 /* Command numbers */ 26 #define PMF_CMD_LIST 0
··· 20 #define LOG_PARSE(fmt...) 21 #define LOG_ERROR(fmt...) printk(fmt) 22 #define LOG_BLOB(t,b,c) 23 + 24 + #undef DEBUG 25 + #ifdef DEBUG 26 #define DBG(fmt...) printk(fmt) 27 + #else 28 + #define DBG(fmt...) 29 + #endif 30 31 /* Command numbers */ 32 #define PMF_CMD_LIST 0