Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jul 2020 16:31:50 +0000 (UTC)
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r363566 - head/sys/compat/linuxkpi/common/include/linux
Message-ID:  <202007261631.06QGVou8066073@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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_ */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007261631.06QGVou8066073>