linux: make gntdev code configurable
PATCH 1/1 linux: make gntdev code configurable
As usual, written and tested on 2.6.24-rc4 and made apply to the 2.6.18 tree without further testing.
Signed-off-by Jan Beulich <[email protected]>
drivers/xen/Kconfig +7 -0
@@ -187,6 +187,13 @@ config XEN_NETDEV_FRONTEND dedicated device-driver domain, or your master control domain (domain 0), then you almost certainly want to say Y here. +config XEN_GRANT_DEV + tristate "User-space granted page access driver" + default XEN_PRIVILEGED_GUEST + help + Device for accessing (in user-space) pages that have been granted + by other domains. + config XEN_FRAMEBUFFER tristate "Framebuffer-device frontend driver" depends on XEN && FB
drivers/xen/Makefile +1 -1
@@ -4,7 +4,6 @@ obj-$(CONFIG_XEN) += core/ obj-y += console/ obj-y += evtchn/ obj-y += xenbus/ -obj-y += gntdev/ obj-y += char/ obj-y += util.o
@@ -20,3 +19,4 @@ obj-$(CONFIG_XEN_PCIDEV_FRONTEND) += pci obj-$(CONFIG_XEN_FRAMEBUFFER) += fbfront/ obj-$(CONFIG_XEN_KEYBOARD) += fbfront/ obj-$(CONFIG_XEN_PRIVCMD) += privcmd/ +obj-$(CONFIG_XEN_GRANT_DEV) += gntdev/
drivers/xen/gntdev/Makefile +1 -1
@@ -1 +1 @@ -obj-y := gntdev.o +obj-$(CONFIG_XEN_GRANT_DEV) := gntdev.o