Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jul 2016 20:45:00 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r303415 - in head/sys/modules: hyperv/vmbus linux64
Message-ID:  <201607272045.u6RKj0Fc093616@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Wed Jul 27 20:45:00 2016
New Revision: 303415
URL: https://svnweb.freebsd.org/changeset/base/303415

Log:
  opt_apic.h is only used on i386.
  
  MFC after:	3 days
  Sponsored by:	EMC / Isilon Storage Division

Modified:
  head/sys/modules/hyperv/vmbus/Makefile
  head/sys/modules/linux64/Makefile

Modified: head/sys/modules/hyperv/vmbus/Makefile
==============================================================================
--- head/sys/modules/hyperv/vmbus/Makefile	Wed Jul 27 20:44:53 2016	(r303414)
+++ head/sys/modules/hyperv/vmbus/Makefile	Wed Jul 27 20:45:00 2016	(r303415)
@@ -14,7 +14,10 @@ SRCS=	hyperv.c \
 SRCS+=	acpi_if.h bus_if.h device_if.h opt_acpi.h vmbus_if.h
 
 # XXX: for assym.s
-SRCS+=  opt_kstack_pages.h opt_nfs.h opt_apic.h opt_hwpmc_hooks.h opt_compat.h
+SRCS+=  opt_kstack_pages.h opt_nfs.h opt_hwpmc_hooks.h opt_compat.h
+.if ${MACHINE_CPUARCH} == "i386"
+SRCS+=	opt_apic.h
+.endif
 
 SRCS+=	assym.s \
 	vmbus_vector.S

Modified: head/sys/modules/linux64/Makefile
==============================================================================
--- head/sys/modules/linux64/Makefile	Wed Jul 27 20:44:53 2016	(r303414)
+++ head/sys/modules/linux64/Makefile	Wed Jul 27 20:45:00 2016	(r303415)
@@ -16,7 +16,10 @@ SRCS=	linux_fork.c linux_dummy.c linux_f
 DPSRCS=	linux_genassym.c
 
 # XXX: for assym.s
-SRCS+=  opt_kstack_pages.h opt_nfs.h opt_apic.h opt_hwpmc_hooks.h
+SRCS+=  opt_kstack_pages.h opt_nfs.h opt_hwpmc_hooks.h
+.if ${MACHINE_CPUARCH} == "i386"
+SRCS+=	opt_apic.h
+.endif
 
 CLEANFILES=	linux_assym.h linux_genassym.o linux_locore.o
 



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