Author: markj
Date: Thu Feb  6 21:01:19 2020
New Revision: 357642
URL: https://svnweb.freebsd.org/changeset/base/357642

Log:
  Remove more manual additions of -DSMP.
  
  Since r357598 this should no longer be necessary.

Modified:
  head/sys/modules/ix/Makefile
  head/sys/modules/ixv/Makefile
  head/sys/modules/lio/Makefile
  head/sys/modules/oce/Makefile
  head/sys/modules/vmm/Makefile

Modified: head/sys/modules/ix/Makefile
==============================================================================
--- head/sys/modules/ix/Makefile        Thu Feb  6 20:51:46 2020        
(r357641)
+++ head/sys/modules/ix/Makefile        Thu Feb  6 21:01:19 2020        
(r357642)
@@ -10,6 +10,6 @@ SRCS    += if_ix.c if_bypass.c if_fdir.c if_sriov.c ix
 SRCS    += ixgbe_common.c ixgbe_api.c ixgbe_phy.c ixgbe_mbx.c ixgbe_vf.c
 SRCS    += ixgbe_dcb.c ixgbe_dcb_82598.c ixgbe_dcb_82599.c
 SRCS    += ixgbe_82598.c ixgbe_82599.c ixgbe_x540.c ixgbe_x550.c
-CFLAGS+= -I${SRCTOP}/sys/dev/ixgbe -DSMP
+CFLAGS+= -I${SRCTOP}/sys/dev/ixgbe
 
 .include <bsd.kmod.mk>

Modified: head/sys/modules/ixv/Makefile
==============================================================================
--- head/sys/modules/ixv/Makefile       Thu Feb  6 20:51:46 2020        
(r357641)
+++ head/sys/modules/ixv/Makefile       Thu Feb  6 21:01:19 2020        
(r357642)
@@ -10,6 +10,6 @@ SRCS    += if_ixv.c if_fdir.c ix_txrx.c ixgbe_osdep.c
 SRCS    += ixgbe_common.c ixgbe_api.c ixgbe_phy.c ixgbe_mbx.c ixgbe_vf.c
 SRCS    += ixgbe_dcb.c ixgbe_dcb_82598.c ixgbe_dcb_82599.c
 SRCS    += ixgbe_82598.c ixgbe_82599.c ixgbe_x540.c ixgbe_x550.c
-CFLAGS+= -I${SRCTOP}/sys/dev/ixgbe -DSMP
+CFLAGS+= -I${SRCTOP}/sys/dev/ixgbe
 
 .include <bsd.kmod.mk>

Modified: head/sys/modules/lio/Makefile
==============================================================================
--- head/sys/modules/lio/Makefile       Thu Feb  6 20:51:46 2020        
(r357641)
+++ head/sys/modules/lio/Makefile       Thu Feb  6 21:01:19 2020        
(r357642)
@@ -7,7 +7,6 @@
 KMOD = if_lio
 CFLAGS += -I${.CURDIR}/../../dev/liquidio
 CFLAGS += -I${.CURDIR}/../../dev/liquidio/base
-CFLAGS += -DSMP
 
 SRCS = device_if.h bus_if.h pci_if.h vnode_if.h opt_inet.h opt_inet6.h
 SRCS += vnode_if_newproto.h vnode_if_typedef.h

Modified: head/sys/modules/oce/Makefile
==============================================================================
--- head/sys/modules/oce/Makefile       Thu Feb  6 20:51:46 2020        
(r357641)
+++ head/sys/modules/oce/Makefile       Thu Feb  6 21:01:19 2020        
(r357642)
@@ -7,7 +7,7 @@ KMOD    = if_oce
 SRCS    = oce_if.c oce_hw.c oce_mbox.c oce_util.c oce_queue.c oce_sysctl.c
 SRCS    += bus_if.h device_if.h pci_if.h opt_inet.h opt_inet6.h
 
-CFLAGS+= -I${SRCTOP}/sys/dev/oce -DSMP
+CFLAGS+= -I${SRCTOP}/sys/dev/oce
 
 # uncomment for lock profiling statistics
 #CFLAGS  += -DLOCK_PROFILING

Modified: head/sys/modules/vmm/Makefile
==============================================================================
--- head/sys/modules/vmm/Makefile       Thu Feb  6 20:51:46 2020        
(r357641)
+++ head/sys/modules/vmm/Makefile       Thu Feb  6 21:01:19 2020        
(r357642)
@@ -6,7 +6,7 @@ SRCS=   opt_acpi.h opt_ddb.h device_if.h bus_if.h pci_if
 DPSRCS+=       vmx_assym.h svm_assym.h
 DPSRCS+=       vmx_genassym.c svm_genassym.c offset.inc
 
-CFLAGS+= -DVMM_KEEP_STATS -DSMP
+CFLAGS+= -DVMM_KEEP_STATS
 CFLAGS+= -I${SRCTOP}/sys/amd64/vmm
 CFLAGS+= -I${SRCTOP}/sys/amd64/vmm/io
 CFLAGS+= -I${SRCTOP}/sys/amd64/vmm/intel
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to