From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Fitzhardinge Subject: Re: [PATCH] xen: rename gntdev and evtdev modules to be less generic Date: Mon, 07 Dec 2009 16:21:39 -0800 Message-ID: <4B1D9C13.1060603@goop.org> References: <1260097645-13477-1-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1260097645-13477-1-git-send-email-ian.campbell@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Campbell Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 12/06/09 03:07, Ian Campbell wrote: > Also allow gntdev to be built as a module. > I'm thinking of dropping gntdev; it doesn't work at present (ends up trying to take a mutex in a spinlock), and I don't think it has any users. J > Signed-off-by: Ian Campbell > Cc: Jeremy Fitzhardinge > --- > drivers/xen/Kconfig | 2 +- > drivers/xen/Makefile | 7 +++++-- > 2 files changed, 6 insertions(+), 3 deletions(-) > > diff --git a/drivers/xen/Kconfig b/drivers/xen/Kconfig > index 22c8818..a2833bb 100644 > --- a/drivers/xen/Kconfig > +++ b/drivers/xen/Kconfig > @@ -169,7 +169,7 @@ config XEN_S3 > depends on XEN_DOM0&& ACPI > > config XEN_GNTDEV > - bool "userspace grant access device driver" > + tristate "userspace grant access device driver" > depends on XEN > select MMU_NOTIFIER > help > diff --git a/drivers/xen/Makefile b/drivers/xen/Makefile > index f7893f3..3288930 100644 > --- a/drivers/xen/Makefile > +++ b/drivers/xen/Makefile > @@ -8,8 +8,8 @@ obj-$(CONFIG_PCI) += pci.o > obj-$(CONFIG_HOTPLUG_CPU) += cpu_hotplug.o > obj-$(CONFIG_XEN_XENCOMM) += xencomm.o > obj-$(CONFIG_XEN_BALLOON) += balloon.o > -obj-$(CONFIG_XEN_DEV_EVTCHN) += evtchn.o > -obj-$(CONFIG_XEN_GNTDEV) += gntdev.o > +obj-$(CONFIG_XEN_DEV_EVTCHN) += xen-evtchn.o > +obj-$(CONFIG_XEN_GNTDEV) += xen-gntdev.o > obj-$(CONFIG_XEN_BLKDEV_BACKEND) += blkback/ > obj-$(CONFIG_XEN_BLKDEV_TAP) += blktap/ > obj-$(CONFIG_XEN_NETDEV_BACKEND) += netback/ > @@ -19,3 +19,6 @@ obj-$(CONFIG_XEN_SYS_HYPERVISOR) += sys-hypervisor.o > obj-$(CONFIG_XEN_S3) += acpi.o > obj-$(CONFIG_XEN_MCE) += mce.o > obj-$(CONFIG_ACPI_PROCESSOR_XEN) += acpi_processor.o > + > +xen-evtchn-y := evtchn.o > +xen-gntdev-y := gntdev.o >