]> xenbits.xensource.com Git - people/julieng/freebsd.git/commitdiff
amd64,i386: Include xen/interface/event_channel.h in intr_machdep.h
authorJulien Grall <julien.grall@citrix.com>
Sun, 4 Oct 2015 18:16:49 +0000 (19:16 +0100)
committerJulien Grall <julien.grall@citrix.com>
Sun, 4 Oct 2015 19:41:25 +0000 (20:41 +0100)
The definition of NR_EVENT_CHANNELS is now depending on macro defined in
xen/interface/event_channel.h

sys/amd64/include/intr_machdep.h
sys/i386/include/intr_machdep.h

index 0a5ced41c52cf9989755493b58a1c1eb22e49b9d..d37c7956db48dab1593f935747aabe1cf1078c33 100644 (file)
@@ -53,6 +53,7 @@
 #define        FIRST_MSI_INT   256
 #ifdef XENHVM
 #include <xen/xen-os.h>
+#include <xen/interface/event_channel.h>
 #define        NUM_EVTCHN_INTS NR_EVENT_CHANNELS
 #define        FIRST_EVTCHN_INT \
     (FIRST_MSI_INT + NUM_MSI_INTS)
index 96ac06a5c51416195422106153d1f1e35391263e..0a2a6d55cf799c3ce68ba9326f92132828ba9bf1 100644 (file)
@@ -53,6 +53,7 @@
 #define        FIRST_MSI_INT   256
 #ifdef XENHVM
 #include <xen/xen-os.h>
+#include <xen/interface/event_channel.h>
 #define        NUM_EVTCHN_INTS NR_EVENT_CHANNELS
 #define        FIRST_EVTCHN_INT \
     (FIRST_MSI_INT + NUM_MSI_INTS)