diff options
author | Emmanuel Vadot <manu@FreeBSD.org> | 2022-08-09 13:55:19 +0000 |
---|---|---|
committer | Emmanuel Vadot <manu@FreeBSD.org> | 2022-08-18 07:47:00 +0000 |
commit | bf27839aa90a4a90ef4b3e59f2a362d36f1e7051 (patch) | |
tree | c10cc23172d8e3c76003088513debceee3b23e7b /sys/compat/linuxkpi/common/include/linux/kernel.h | |
parent | 4b2cb13e916218f815ee5ecc8338635c6a4f261b (diff) | |
download | src-bf27839aa90a4a90ef4b3e59f2a362d36f1e7051.tar.gz src-bf27839aa90a4a90ef4b3e59f2a362d36f1e7051.zip |
linuxkpi: Add add_taint stub
Needed by drm-kmod.
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D36112
Diffstat (limited to 'sys/compat/linuxkpi/common/include/linux/kernel.h')
-rw-r--r-- | sys/compat/linuxkpi/common/include/linux/kernel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/kernel.h b/sys/compat/linuxkpi/common/include/linux/kernel.h index 2450c18a5690..2c40b2f33c41 100644 --- a/sys/compat/linuxkpi/common/include/linux/kernel.h +++ b/sys/compat/linuxkpi/common/include/linux/kernel.h @@ -682,6 +682,8 @@ linux_ratelimited(linux_ratelimit_t *rl) #define TAINT_WARN 0 #define test_taint(x) (0) +#define add_taint(x,y) do { \ + } while (0) static inline int _h2b(const char c) |