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
commita40f879158e4188a2bf5392aa234da1bb3cb0354 (patch)
tree74f3cd6192890f54d68ffffa602953dbd3498b54 /sys/i386/include/intr_machdep.h
parent9182c7d232efa0b771a91ea759b0f662e2b210ae (diff)
downloadFreeBSD-src-a40f879158e4188a2bf5392aa234da1bb3cb0354.zip
FreeBSD-src-a40f879158e4188a2bf5392aa234da1bb3cb0354.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 b71bbb6..5af8cce 100644
--- a/sys/i386/include/intr_machdep.h
+++ b/sys/i386/include/intr_machdep.h
@@ -140,8 +140,9 @@ struct trapframe;
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