patch-1.3.98 linux/include/linux/kernel.h

Next file: linux/include/linux/mtio.h
Previous file: linux/include/linux/ext2_fs_sb.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.97/linux/include/linux/kernel.h linux/include/linux/kernel.h
@@ -57,6 +57,12 @@
 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)
+
+#define pr_info(fmt,arg...) \
+	printk(KERN_INFO fmt,##arg)
+
 /*
  * "suser()" checks against the effective user id, while "fsuser()"
  * is used for file permission checking and checks against the fsuid..

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