svn commit: r363566 - head/sys/compat/linuxkpi/common/include/linux

Emmanuel Vadot manu at FreeBSD.org
Sun Jul 26 16:31:50 UTC 2020


Author: manu
Date: Sun Jul 26 16:31:49 2020
New Revision: 363566
URL: https://svnweb.freebsd.org/changeset/base/363566

Log:
  linuxkpi: Add taint* defines
  
  This isn't used for us but allow us to port drivers more easily.
  
  Reviewed by:	hselasky
  Sponsored by:	The FreeBSD Foundation
  Differential Revision:	https://reviews.freebsd.org/D25703

Modified:
  head/sys/compat/linuxkpi/common/include/linux/kernel.h

Modified: head/sys/compat/linuxkpi/common/include/linux/kernel.h
==============================================================================
--- head/sys/compat/linuxkpi/common/include/linux/kernel.h	Sun Jul 26 16:30:59 2020	(r363565)
+++ head/sys/compat/linuxkpi/common/include/linux/kernel.h	Sun Jul 26 16:31:49 2020	(r363566)
@@ -593,4 +593,7 @@ linux_ratelimited(linux_ratelimit_t *rl)
 			    (is_signed(datatype) ? INT8_MIN : 0) \
 )
 
+#define	TAINT_WARN	0
+#define	test_taint(x)	(0)
+
 #endif	/* _LINUX_KERNEL_H_ */


More information about the svn-src-head mailing list