summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2009-05-26 20:57:19 +0000
committerdes <des@FreeBSD.org>2009-05-26 20:57:19 +0000
commit6eedde2cb2112e5beaf70ab8509c1837b8991375 (patch)
treea18bb3fcb9905dfc7de994b940d79f8dccb5cbdf /sys/modules
parentc0d5996eb6885340017fa87726a787b38dfa689f (diff)
downloadFreeBSD-src-6eedde2cb2112e5beaf70ab8509c1837b8991375.zip
FreeBSD-src-6eedde2cb2112e5beaf70ab8509c1837b8991375.tar.gz
Move opt_apic.h closer to the "XXX: for assym.s" comment.
Suggested by: jhb MFC after: 1 week
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/linux/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/modules/linux/Makefile b/sys/modules/linux/Makefile
index 6ad965a..54502cf 100644
--- a/sys/modules/linux/Makefile
+++ b/sys/modules/linux/Makefile
@@ -18,11 +18,14 @@ SRCS= linux${SFX}_dummy.c linux_emul.c linux_file.c \
# XXX: for assym.s
SRCS+= opt_kstack_pages.h opt_nfs.h opt_compat.h opt_hwpmc_hooks.h
+.if ${MACHINE_ARCH} == "i386"
+SRCS+= opt_apic.h
+.endif
OBJS= linux${SFX}_locore.o linux${SFX}_support.o
.if ${MACHINE_ARCH} == "i386"
-SRCS+= linux_ptrace.c imgact_linux.c opt_apic.h opt_cpu.h
+SRCS+= linux_ptrace.c imgact_linux.c opt_cpu.h
.endif
EXPORT_SYMS=
OpenPOWER on IntegriCloud