diff mbox

xen/evtchn: Fix build on ARM

Message ID 1381789177-19429-1-git-send-email-julien.grall@linaro.org
State Accepted, archived
Headers show

Commit Message

Julien Grall Oct. 14, 2013, 10:19 p.m. UTC
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.

Signed-off-by: Julien Grall <julien.grall@linaro.org>
---
 xen/common/event_fifo.c |    1 +
 xen/include/xen/sched.h |    1 +
 2 files changed, 2 insertions(+)

Comments

Ian Campbell Oct. 15, 2013, 9:38 a.m. UTC | #1
On Mon, 2013-10-14 at 23:19 +0100, Julien Grall wrote:
> 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.
> 
> Signed-off-by: Julien Grall <julien.grall@linaro.org>

These seemed obvious enough that I acked and pushed it.

Ian.

> ---
>  xen/common/event_fifo.c |    1 +
>  xen/include/xen/sched.h |    1 +
>  2 files changed, 2 insertions(+)
> 
> diff --git a/xen/common/event_fifo.c b/xen/common/event_fifo.c
> index eb0b97c..bec8d87 100644
> --- a/xen/common/event_fifo.c
> +++ b/xen/common/event_fifo.c
> @@ -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>
>  
> diff --git a/xen/include/xen/sched.h b/xen/include/xen/sched.h
> index c2588a5..25bf637 100644
> --- a/xen/include/xen/sched.h
> +++ b/xen/include/xen/sched.h
> @@ -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>
diff mbox

Patch

diff --git a/xen/common/event_fifo.c b/xen/common/event_fifo.c
index eb0b97c..bec8d87 100644
--- a/xen/common/event_fifo.c
+++ b/xen/common/event_fifo.c
@@ -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>
 
diff --git a/xen/include/xen/sched.h b/xen/include/xen/sched.h
index c2588a5..25bf637 100644
--- a/xen/include/xen/sched.h
+++ b/xen/include/xen/sched.h
@@ -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>