Browse Source

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>
Stefano Stabellini 14 years ago
parent
commit
1f169f66dd
1 changed files with 2 additions and 0 deletions
  1. 2 0
      drivers/xen/Kconfig

+ 2 - 0
drivers/xen/Kconfig

@@ -76,6 +76,7 @@ config XEN_XENBUS_FRONTEND
 config XEN_GNTDEV
 config XEN_GNTDEV
 	tristate "userspace grant access device driver"
 	tristate "userspace grant access device driver"
 	depends on XEN
 	depends on XEN
+	default m
 	select MMU_NOTIFIER
 	select MMU_NOTIFIER
 	help
 	help
 	  Allows userspace processes to use grants.
 	  Allows userspace processes to use grants.
@@ -83,6 +84,7 @@ config XEN_GNTDEV
 config XEN_GRANT_DEV_ALLOC
 config XEN_GRANT_DEV_ALLOC
 	tristate "User-space grant reference allocator driver"
 	tristate "User-space grant reference allocator driver"
 	depends on XEN
 	depends on XEN
+	default m
 	help
 	help
 	  Allows userspace processes to create pages with access granted
 	  Allows userspace processes to create pages with access granted
 	  to other domains. This can be used to implement frontend drivers
 	  to other domains. This can be used to implement frontend drivers