diff options
author | Neel Chauhan <nc@FreeBSD.org> | 2021-06-07 22:52:37 +0000 |
---|---|---|
committer | Neel Chauhan <nc@FreeBSD.org> | 2021-06-07 22:53:24 +0000 |
commit | 37d64dcdfa519157aff9711f1f226ad7bd778f46 (patch) | |
tree | b1d578c5288cc0c6105494fa0b7b98785ca76f33 | |
parent | 096104e790fb182d230f25f169792cc610b8f41c (diff) |
linuxkpi: Include pr_err_once() in printk.h
Approved by: bz (src), hselasky (src)
Differential Reivison: https://reviews.freebsd.org/D30687
-rw-r--r-- | sys/compat/linuxkpi/common/include/linux/printk.h | 3 | ||||
-rw-r--r-- | sys/sys/param.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/printk.h b/sys/compat/linuxkpi/common/include/linux/printk.h index e6510e9e9834..ac3fdb9f31ae 100644 --- a/sys/compat/linuxkpi/common/include/linux/printk.h +++ b/sys/compat/linuxkpi/common/include/linux/printk.h @@ -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_ */ diff --git a/sys/sys/param.h b/sys/sys/param.h index c63452973daf..d3a6fae783d4 100644 --- a/sys/sys/param.h +++ b/sys/sys/param.h @@ -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, |