summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/intr_machdep.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2016-09-09 19:57:32 +0000
committerjhb <jhb@FreeBSD.org>2016-09-09 19:57:32 +0000
commit8192ba83909d7ba1e3678b60d665d2aed110e2d6 (patch)
tree61f13d9792a11935f188e04cfe1950a9de821f0b /sys/i386/include/intr_machdep.h
parentf9b4762efc9021e3a72b0aa5e0b1b152545f8ffd (diff)
downloadFreeBSD-src-8192ba83909d7ba1e3678b60d665d2aed110e2d6.zip
FreeBSD-src-8192ba83909d7ba1e3678b60d665d2aed110e2d6.tar.gz
MFC 304637: Fix build for !SMP kernels after the Xen MSIX workaround.
Move msix_disable_migration under #ifdef SMP since it doesn't make sense for !SMP kernels. PR: 212014
Diffstat (limited to 'sys/i386/include/intr_machdep.h')
-rw-r--r--sys/i386/include/intr_machdep.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/i386/include/intr_machdep.h b/sys/i386/include/intr_machdep.h
index 629f137..a8dd456 100644
--- a/sys/i386/include/intr_machdep.h
+++ b/sys/i386/include/intr_machdep.h
@@ -139,8 +139,9 @@ extern cpuset_t intr_cpus;
#endif
extern struct mtx icu_lock;
extern int elcr_found;
-
+#ifdef SMP
extern int msix_disable_migration;
+#endif
#ifndef DEV_ATPIC
void atpic_reset(void);
OpenPOWER on IntegriCloud