mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 08:26:59 +00:00
staging: android: uapi: drop definitions of removed ION_IOC_{FREE,SHARE} ioctls
This problem was found by strace ioctl list generator.
Fixes: 15c6098cfe
("staging: android: ion: Remove ion_handle and ion_client")
Signed-off-by: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
Acked-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
349190d56b
commit
f7a320ffeb
1 changed files with 0 additions and 18 deletions
|
@ -124,24 +124,6 @@ struct ion_heap_query {
|
||||||
#define ION_IOC_ALLOC _IOWR(ION_IOC_MAGIC, 0, \
|
#define ION_IOC_ALLOC _IOWR(ION_IOC_MAGIC, 0, \
|
||||||
struct ion_allocation_data)
|
struct ion_allocation_data)
|
||||||
|
|
||||||
/**
|
|
||||||
* DOC: ION_IOC_FREE - free memory
|
|
||||||
*
|
|
||||||
* Takes an ion_handle_data struct and frees the handle.
|
|
||||||
*/
|
|
||||||
#define ION_IOC_FREE _IOWR(ION_IOC_MAGIC, 1, struct ion_handle_data)
|
|
||||||
|
|
||||||
/**
|
|
||||||
* DOC: ION_IOC_SHARE - creates a file descriptor to use to share an allocation
|
|
||||||
*
|
|
||||||
* Takes an ion_fd_data struct with the handle field populated with a valid
|
|
||||||
* opaque handle. Returns the struct with the fd field set to a file
|
|
||||||
* descriptor open in the current address space. This file descriptor
|
|
||||||
* can then be passed to another process. The corresponding opaque handle can
|
|
||||||
* be retrieved via ION_IOC_IMPORT.
|
|
||||||
*/
|
|
||||||
#define ION_IOC_SHARE _IOWR(ION_IOC_MAGIC, 4, struct ion_fd_data)
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* DOC: ION_IOC_HEAP_QUERY - information about available heaps
|
* DOC: ION_IOC_HEAP_QUERY - information about available heaps
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue