linuxkpi: Include pr_err_once() in printk.h

Approved by:		bz (src), hselasky (src)
Differential Reivison:	https://reviews.freebsd.org/D30687
This commit is contained in:
Neel Chauhan 2021-06-07 15:52:37 -07:00
parent 096104e790
commit 37d64dcdfa
2 changed files with 4 additions and 1 deletions

View file

@ -127,4 +127,7 @@ print_hex_dump_bytes(const char *prefix_str, const int prefix_type,
#define pr_info_ratelimited(fmt, ...) \
printk_ratelimited(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
#define pr_err_once(fmt, ...) \
printk_once(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
#endif /* _LINUX_PRINTK_H_ */

View file

@ -76,7 +76,7 @@
* cannot include sys/param.h and should only be updated here.
*/
#undef __FreeBSD_version
#define __FreeBSD_version 1400018
#define __FreeBSD_version 1400019
/*
* __FreeBSD_kernel__ indicates that this system uses the kernel of FreeBSD,