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:
parent
e4dfde8a8f
commit
f5fba22868
@ -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_ */
|
||||
|
Loading…
Reference in New Issue
Block a user