]> err.no Git - linux-2.6/commitdiff
[POWERPC] PS3: Simplify definition of DBG
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Fri, 15 Jun 2007 21:19:23 +0000 (07:19 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 28 Jun 2007 09:16:36 +0000 (19:16 +1000)
Simplify the PS3 definition of DBG.

Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/ps3/htab.c
arch/powerpc/platforms/ps3/interrupt.c
arch/powerpc/platforms/ps3/mm.c
arch/powerpc/platforms/ps3/setup.c
arch/powerpc/platforms/ps3/smp.c

index 0f4eb1251d7ff0a57a1b4a7efe1afa6bfce457e5..d741edd96a24104720899ccebd7e3bc8c4d35b75 100644 (file)
@@ -29,9 +29,9 @@
 #include "platform.h"
 
 #if defined(DEBUG)
-#define DBG(fmt...) udbg_printf(fmt)
+#define DBG udbg_printf
 #else
-#define DBG(fmt...) do{if(0)printk(fmt);}while(0)
+#define DBG pr_debug
 #endif
 
 static struct hash_pte *htab;
index c9fd4ed66e8f09e8ee7db444e074126582a301d2..2a0a422cea1489de6a343524d127201e468cb51c 100644 (file)
@@ -30,9 +30,9 @@
 #include "platform.h"
 
 #if defined(DEBUG)
-#define DBG(fmt...) udbg_printf(fmt)
+#define DBG udbg_printf
 #else
-#define DBG(fmt...) do{if(0)printk(fmt);}while(0)
+#define DBG pr_debug
 #endif
 
 /**
index f8a3e206c584b42f97b811da0b09b1402633bb95..39c200b3498501e0f18b21dd191ddc605e741dc8 100644 (file)
@@ -30,9 +30,9 @@
 #include "platform.h"
 
 #if defined(DEBUG)
-#define DBG(fmt...) udbg_printf(fmt)
+#define DBG udbg_printf
 #else
-#define DBG(fmt...) do{if(0)printk(fmt);}while(0)
+#define DBG pr_debug
 #endif
 
 enum {
index b79d62b68df594db567c88b186eb429b609d647a..8854af184dd4d19a76f522207a4025c15c5ccc9d 100644 (file)
@@ -37,9 +37,9 @@
 #include "platform.h"
 
 #if defined(DEBUG)
-#define DBG(fmt...) udbg_printf(fmt)
+#define DBG udbg_printf
 #else
-#define DBG(fmt...) do{if(0)printk(fmt);}while(0)
+#define DBG pr_debug
 #endif
 
 #if !defined(CONFIG_SMP)
index 2134ef1360a0b1440ab59a10e0fe21dd45f5ee3b..d84371382030ff9a25ddf4a62b032f2610f9b5e0 100644 (file)
@@ -27,9 +27,9 @@
 #include "platform.h"
 
 #if defined(DEBUG)
-#define DBG(fmt...) udbg_printf(fmt)
+#define DBG udbg_printf
 #else
-#define DBG(fmt...) do{if(0)printk(fmt);}while(0)
+#define DBG pr_debug
 #endif
 
 static irqreturn_t ipi_function_handler(int irq, void *msg)