svn commit: r357586 - in head/sys/modules/dtrace: dtrace fasttrap

Mark Johnston markj at FreeBSD.org
Wed Feb 5 19:08:46 UTC 2020


Author: markj
Date: Wed Feb  5 19:08:45 2020
New Revision: 357586
URL: https://svnweb.freebsd.org/changeset/base/357586

Log:
  Stop compiling dtrace modules with -DSMP.
  
  I believe this is left over from when dtrace was being ported and
  developed out-of-tree.  Now it just ensures that dtrace.ko and a non-SMP
  kernel have incompatible KBIs.
  
  PR:		243711
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/modules/dtrace/dtrace/Makefile
  head/sys/modules/dtrace/fasttrap/Makefile

Modified: head/sys/modules/dtrace/dtrace/Makefile
==============================================================================
--- head/sys/modules/dtrace/dtrace/Makefile	Wed Feb  5 19:08:21 2020	(r357585)
+++ head/sys/modules/dtrace/dtrace/Makefile	Wed Feb  5 19:08:45 2020	(r357586)
@@ -47,8 +47,6 @@ CFLAGS+=	-I${SYSDIR}/cddl/compat/opensolaris \
 		-I${SYSDIR}/cddl/contrib/opensolaris/common/util \
 		-I${SYSDIR} -DDIS_MEM
 
-CFLAGS+=	-DSMP
-
 EXPORT_SYMS=	dtrace_register \
 		dtrace_unregister \
 		dtrace_probe_lookup

Modified: head/sys/modules/dtrace/fasttrap/Makefile
==============================================================================
--- head/sys/modules/dtrace/fasttrap/Makefile	Wed Feb  5 19:08:21 2020	(r357585)
+++ head/sys/modules/dtrace/fasttrap/Makefile	Wed Feb  5 19:08:45 2020	(r357586)
@@ -24,8 +24,6 @@ CFLAGS+=	-I${SYSDIR}/cddl/contrib/opensolaris/uts/powe
 .PATH:		${SYSDIR}/cddl/contrib/opensolaris/common/unicode
 SRCS+=		u8_textprep.c
 
-CFLAGS+=	-DSMP
-
 .include <bsd.kmod.mk>
 
 CFLAGS+=	-include ${SYSDIR}/cddl/compat/opensolaris/sys/debug_compat.h


More information about the svn-src-all mailing list