git: 4d1302618e5e - stable/13 - linuxkpi: Add add_taint stub
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 07 Sep 2022 15:10:36 UTC
The branch stable/13 has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=4d1302618e5e8b62053cdbb56cdd1293c9f1fc0f commit 4d1302618e5e8b62053cdbb56cdd1293c9f1fc0f Author: Emmanuel Vadot <manu@FreeBSD.org> AuthorDate: 2022-08-09 13:55:19 +0000 Commit: Emmanuel Vadot <manu@FreeBSD.org> CommitDate: 2022-09-07 15:09:06 +0000 linuxkpi: Add add_taint stub Needed by drm-kmod. Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D36112 (cherry picked from commit bf27839aa90a4a90ef4b3e59f2a362d36f1e7051) --- sys/compat/linuxkpi/common/include/linux/kernel.h | 2 ++ 1 file changed, 2 insertions(+) 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)