Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Feb 2020 19:08:45 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r357586 - in head/sys/modules/dtrace: dtrace fasttrap
Message-ID:  <202002051908.015J8jCV043825@repo.freebsd.org>

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



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