patch-1.3.99 linux/include/linux/kernel.h
Next file: linux/include/linux/math_emu.h
Previous file: linux/include/linux/isdnif.h
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Mon May 6 14:50:10 1996
- Orig file:
v1.3.98/linux/include/linux/kernel.h
- Orig date:
Sun May 5 08:52:04 1996
diff -u --recursive --new-file v1.3.98/linux/include/linux/kernel.h linux/include/linux/kernel.h
@@ -57,8 +57,13 @@
asmlinkage int printk(const char * fmt, ...)
__attribute__ ((format (printf, 1, 2)));
-#define pr_debug(show,fmt,arg...) \
- do { if (show) printk(KERN_DEBUG fmt,##arg); } while (0)
+#if DEBUG
+#define pr_debug(fmt,arg...) \
+ printk(KERN_DEBUG fmt,##arg)
+#else
+#define pr_debug(fmt,arg...) \
+ do { } while (0)
+#endif
#define pr_info(fmt,arg...) \
printk(KERN_INFO fmt,##arg)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this