forked from Minki/linux
[POWERPC] PS3: Simplify definition of DBG
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>
This commit is contained in:
parent
743c1bb074
commit
83bb643d07
@ -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;
|
||||
|
@ -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
|
||||
|
||||
/**
|
||||
|
@ -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 {
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user