]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
dma-buf: add support for compat ioctl
authorMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 21 Feb 2017 13:21:01 +0000 (14:21 +0100)
committerSumit Semwal <sumit.semwal@linaro.org>
Mon, 27 Feb 2017 11:53:47 +0000 (17:23 +0530)
commit888022c0473d079bff9b47fb50434b1f20f8f37f
treeaa3be287c0eb00cf31b90fdc59328218ea669343
parent31788ca803a0c89078f9e604e64286fbd9077926
dma-buf: add support for compat ioctl

Add compat ioctl support to dma-buf. This lets one to use DMA_BUF_IOCTL_SYNC
ioctl from 32bit application on 64bit kernel. Data structures for both 32
and 64bit modes are same, so there is no need for additional translation
layer.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1487683261-2655-1-git-send-email-m.szyprowski@samsung.com
drivers/dma-buf/dma-buf.c