/*************************************************************************** debug0x05bf.h ------------- purpose : Issues rehat-bug #683265, see "https://bugzilla.redhat.com/show_bug.cgi?id=683265", Debugging Functions Header File begin : Mon May 30 10:00:00 CEST 2011 copyright : (C) 2011 by Thomas Bruecker email : public0x05bf@bluewin.ch version : 0 ***************************************************************************/ /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, but * * WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * * General Public License for more details. * * * * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the Free Software * * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * * * ***************************************************************************/ #ifndef _DEBUG0x05bf_H_ #define _DEBUG0x0fbf_H_ #include #define US0x05bf_DEBUGP(x...) \ do { \ if (debug) \ printk(KERN_INFO MODULE_NAME0x05bf ": " x); \ } while (0) #define US0x05bf_DEBUGPX(x...) \ do { \ if (debug) \ printk(x); \ } while (0) #define US0x05bf_DEBUG(x) \ do { \ if (debug) { \ x \ } \ } while (0) #endif /* #ifndef _DEBUG0x05bf_H_ */