svn commit: r345935 - stable/12/sys/compat/linuxkpi/common/include/linux
Hans Petter Selasky
hselasky at FreeBSD.org
Fri Apr 5 11:30:14 UTC 2019
Author: hselasky
Date: Fri Apr 5 11:30:13 2019
New Revision: 345935
URL: https://svnweb.freebsd.org/changeset/base/345935
Log:
MFC r345107:
Implement pr_info_ratelimited() function macro in the LinuxKPI.
Submitted by: Johannes Lundberg <johalun0 at gmail.com>
Sponsored by: Limelight Networks
Sponsored by: Mellanox Technologies
Modified:
stable/12/sys/compat/linuxkpi/common/include/linux/printk.h
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sys/compat/linuxkpi/common/include/linux/printk.h
==============================================================================
--- stable/12/sys/compat/linuxkpi/common/include/linux/printk.h Fri Apr 5 11:29:05 2019 (r345934)
+++ stable/12/sys/compat/linuxkpi/common/include/linux/printk.h Fri Apr 5 11:30:13 2019 (r345935)
@@ -121,4 +121,7 @@ print_hex_dump_bytes(const char *prefix_str, const int
#define pr_err_ratelimited(fmt, ...) \
printk_ratelimited(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
+#define pr_info_ratelimited(fmt, ...) \
+ printk_ratelimited(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
+
#endif /* _LINUX_PRINTK_H_ */
More information about the svn-src-all
mailing list