Skip to contentSkip to conversation

xen/evtchn: Fix build on ARM

PATCH In review Julien Grall 2 participants 2 messages Oct 14, 2013 – Oct 15, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xen/evtchn: Fix build on ARM

The recent event channel changes introduced by commit a77eb86 and before... break the compilation on Xen ARM. This commit adds missing includes in common/event_fifo.c and include/xen/sched.h.

---
 xen/common/event_fifo.c |    1 +
 xen/include/xen/sched.h |    1 +
 2 files changed, 2 insertions(+)
xen/common/event_fifo.c +1 -0
index eb0b97c..bec8d87 100644
@@ -16,6 +16,7 @@
 #include <xen/event_fifo.h>
 #include <xen/paging.h>
 #include <xen/mm.h>
+#include <xen/domain_page.h>
 
 #include <public/event_channel.h>
 
xen/include/xen/sched.h +1 -0
index c2588a5..25bf637 100644
@@ -24,6 +24,7 @@
 #include <public/sysctl.h>
 #include <public/vcpu.h>
 #include <public/mem_event.h>
+#include <public/event_channel.h>
 
 #ifdef CONFIG_COMPAT
 #include <compat/vcpu.h>
Signature · 1 line
1.7.10.4
#1 lore raw
Quoted 5 lines · Julien Grall

The recent event channel changes introduced by commit a77eb86 and before... break the compilation on Xen ARM. This commit adds missing includes in common/event_fifo.c and include/xen/sched.h.

These seemed obvious enough that I acked and pushed it.

Ian.

Quoted 29 lines
---
 xen/common/event_fifo.c |    1 +
 xen/include/xen/sched.h |    1 +
 2 files changed, 2 insertions(+)
xen/common/event_fifo.c +1 -0
index eb0b97c..bec8d87 100644
@@ -16,6 +16,7 @@
 #include <xen/event_fifo.h>
 #include <xen/paging.h>
 #include <xen/mm.h>
+#include <xen/domain_page.h>
 
 #include <public/event_channel.h>
 
xen/include/xen/sched.h +1 -0
index c2588a5..25bf637 100644
@@ -24,6 +24,7 @@
 #include <public/sysctl.h>
 #include <public/vcpu.h>
 #include <public/mem_event.h>
+#include <public/event_channel.h>
 
 #ifdef CONFIG_COMPAT
 #include <compat/vcpu.h>