Re: [PATCH 06/11] xen: move arch/x86/xen/events.c undedr drivers/xenand split out arch specific part.

From: Jeremy Fitzhardinge
Date: Thu Feb 21 2008 - 14:40:50 EST


yamahata@xxxxxxxxxxxxx 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/