[PATCH 1/3] xen: Move manage.c to drivers/xen for ia64/xen support.
Jeremy Fitzhardinge
jeremy at goop.org
Wed Apr 23 17:00:31 PDT 2008
Isaku Yamahata wrote:
> move arch/x86/xen/manage.c under drivers/xen/to share codes
> with x86 and ia64.
> ia64/xen also uses manage.c
>
Hm, I've got patches to add suspend/resume to manage.c. I guess they're
going to be at least partially arch-specific. Well, no problem to split
those out.
J
> Signed-off-by: Isaku Yamahata <yamahata at valinux.co.jp>
> ---
> arch/x86/xen/Makefile | 2 +-
> drivers/xen/Makefile | 2 +-
> {arch/x86 => drivers}/xen/manage.c | 0
> 3 files changed, 2 insertions(+), 2 deletions(-)
> rename {arch/x86 => drivers}/xen/manage.c (100%)
>
> diff --git a/arch/x86/xen/Makefile b/arch/x86/xen/Makefile
> index 3d8df98..40b119b 100644
> --- a/arch/x86/xen/Makefile
> +++ b/arch/x86/xen/Makefile
> @@ -1,4 +1,4 @@
> obj-y := enlighten.o setup.o multicalls.o mmu.o \
> - time.o manage.o xen-asm.o grant-table.o
> + time.o xen-asm.o grant-table.o
>
> obj-$(CONFIG_SMP) += smp.o
> diff --git a/drivers/xen/Makefile b/drivers/xen/Makefile
> index 37af04f..363286c 100644
> --- a/drivers/xen/Makefile
> +++ b/drivers/xen/Makefile
> @@ -1,4 +1,4 @@
> -obj-y += grant-table.o features.o events.o
> +obj-y += grant-table.o features.o events.o manage.o
> obj-y += xenbus/
> obj-$(CONFIG_XEN_XENCOMM) += xencomm.o
> obj-$(CONFIG_XEN_BALLOON) += balloon.o
> diff --git a/arch/x86/xen/manage.c b/drivers/xen/manage.c
> similarity index 100%
> rename from arch/x86/xen/manage.c
> rename to drivers/xen/manage.c
>
More information about the Virtualization
mailing list