6#ifndef __DEBUG_DEFS_H__
7#define __DEBUG_DEFS_H__
20 #define DBG(fmt, args...) do { printk(" : %03d @ %18s()]:" fmt , __LINE__,__FUNCTION__,## args); } while(0)
21 #define DBG2(fmt) do { printk(" : %03d @ %18s()]:" fmt , __LINE__,__FUNCTION__); } while(0)
22 #define DBGC(c,fmt, args...) do { if (DEBUG_FLAGS & c) { printk(" : %03d @ %18s()]:" fmt , __LINE__,__FUNCTION__,## args); }} while(0)
26 #define DBG(fmt, args...)
27 #define DBG2(fmt, args...)
28 #define DBGC(c, fmt, args...)
33 #define FUNCDBG() do { printk("%s\n\r",__FUNCTION__); } while(0)