]> git.baikalelectronics.ru Git - kernel.git/commit
xen/gntdev: Use select for DMA_SHARED_BUFFER
authorJason Gunthorpe <jgg@mellanox.com>
Mon, 28 Oct 2019 20:10:25 +0000 (17:10 -0300)
committerJuergen Gross <jgross@suse.com>
Thu, 7 Nov 2019 11:03:38 +0000 (12:03 +0100)
commit21009abef89d6488ea748b75a88feaa048f63890
treef352631579c525764d273b80b1ce2757f401becb
parent8ab8f3f2929fb068fa8b9cc96cc0eae7e5ace020
xen/gntdev: Use select for DMA_SHARED_BUFFER

DMA_SHARED_BUFFER can not be enabled by the user (it represents a library
set in the kernel). The kconfig convention is to use select for such
symbols so they are turned on implicitly when the user enables a kconfig
that needs them.

Otherwise the XEN_GNTDEV_DMABUF kconfig is overly difficult to enable.

Fixes: d4cea1f5f269 ("xen/gntdev: Add initial support for dma-buf UAPI")
Cc: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: xen-devel@lists.xenproject.org
Cc: Juergen Gross <jgross@suse.com>
Cc: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
drivers/xen/Kconfig