summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>2011-02-10 13:08:21 +0100
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-02-16 15:30:02 +0100
commit1f169f66ddcc3b4614f840bef367de1ca20e16fe (patch)
treeb51c76465ebe94a3f757a31dcd559fd07880e0ff
parentxen-gntdev: prevent using UNMAP_NOTIFY_CLEAR_BYTE on read-only mappings (diff)
downloadlinux-1f169f66ddcc3b4614f840bef367de1ca20e16fe.tar.xz
linux-1f169f66ddcc3b4614f840bef367de1ca20e16fe.zip
xen: change xen/[gntdev/gntalloc] to default m
When CONFIG_XEN is enabled the gntdev and gntalloc driver will be compiled as a module by default. [v2: Added the fix for the gntalloc driver as well] Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
-rw-r--r--drivers/xen/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/xen/Kconfig b/drivers/xen/Kconfig
index a3d7afb86ae4..a59638b37c1a 100644
--- a/drivers/xen/Kconfig
+++ b/drivers/xen/Kconfig
@@ -76,6 +76,7 @@ config XEN_XENBUS_FRONTEND
config XEN_GNTDEV
tristate "userspace grant access device driver"
depends on XEN
+ default m
select MMU_NOTIFIER
help
Allows userspace processes to use grants.
@@ -83,6 +84,7 @@ config XEN_GNTDEV
config XEN_GRANT_DEV_ALLOC
tristate "User-space grant reference allocator driver"
depends on XEN
+ default m
help
Allows userspace processes to create pages with access granted
to other domains. This can be used to implement frontend drivers