Re: [PATCH 06/11] xen: move arch/x86/xen/events.c undedr drivers/xen

Jeremy Fitzhardinge
2008-02-21T19:38:18Z

yamahata@valinux.co.jp wrote:
> diff --git a/arch/x86/xen/events.c b/drivers/xen/events.c
> similarity index 95%
> rename from arch/x86/xen/events.c
> rename to drivers/xen/events.c
> index dcf613e..7474739 100644
> --- a/arch/x86/xen/events.c
> +++ b/drivers/xen/events.c
> @@ -37,7 +37,9 @@
> #include <xen/interface/xen.h>
> #include <xen/interface/event_channel.h>
>
> -#include "xen-ops.h"
> +#ifdef CONFIG_X86
> +# include "../arch/x86/xen/xen-ops.h"
> +#endif

Hm. Perhaps it would be better to move whatever definition you need
into a header in a common place (or move xen-ops.h entirely).

J