Implement pr_err_ratelimited() function macro in the LinuxKPI.

MFC after:	1 week
Submitted by:	Johannes Lundberg <johalun0@gmail.com>
Sponsored by:	Mellanox Technologies
Sponsored by:	Limelight Networks
This commit is contained in:
Hans Petter Selasky 2018-03-04 18:27:50 +00:00
parent 8961c48323
commit ab7da72090
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=330394

View File

@ -118,4 +118,7 @@ print_hex_dump_bytes(const char *prefix_str, const int prefix_type,
__retval; \
})
#define pr_err_ratelimited(fmt, ...) \
printk_ratelimited(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
#endif /* _LINUX_PRINTK_H_ */