Implement pr_info_ratelimited() function macro in the LinuxKPI.

Submitted by:		Johannes Lundberg <johalun0@gmail.com>
MFC after:		1 week
Sponsored by:		Limelight Networks
Sponsored by:		Mellanox Technologies
This commit is contained in:
hselasky 2019-03-13 19:26:24 +00:00
parent e4dfde8a8f
commit f5fba22868

View File

@ -121,4 +121,7 @@ print_hex_dump_bytes(const char *prefix_str, const int prefix_type,
#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_ */