Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Apr 2019 11:30:27 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r345936 - stable/11/sys/compat/linuxkpi/common/include/linux
Message-ID:  <201904051130.x35BUR4h008495@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Fri Apr  5 11:30:27 2019
New Revision: 345936
URL: https://svnweb.freebsd.org/changeset/base/345936

Log:
  MFC r345107:
  Implement pr_info_ratelimited() function macro in the LinuxKPI.
  
  Submitted by:		Johannes Lundberg <johalun0@gmail.com>
  Sponsored by:		Limelight Networks
  Sponsored by:		Mellanox Technologies

Modified:
  stable/11/sys/compat/linuxkpi/common/include/linux/printk.h
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/compat/linuxkpi/common/include/linux/printk.h
==============================================================================
--- stable/11/sys/compat/linuxkpi/common/include/linux/printk.h	Fri Apr  5 11:30:13 2019	(r345935)
+++ stable/11/sys/compat/linuxkpi/common/include/linux/printk.h	Fri Apr  5 11:30:27 2019	(r345936)
@@ -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_ */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904051130.x35BUR4h008495>