Add heap_mask to ion_allocation_data

This commit is contained in:
Brian Muramatsu
2012-07-30 22:54:08 -07:00
committed by Iliyan Malchev
parent 8d953616f3
commit fb84f15d19

View File

@@ -695,6 +695,7 @@ static inline int msm_ion_do_cache_op(struct ion_client *client,
* struct ion_allocation_data - metadata passed from userspace for allocations
* @len: size of the allocation
* @align: required alignment of the allocation
* @heap_mask: mask of heaps to allocate from
* @flags: flags passed to heap
* @handle: pointer that will be populated with a cookie to use to refer
* to this allocation
@@ -704,6 +705,7 @@ static inline int msm_ion_do_cache_op(struct ion_client *client,
struct ion_allocation_data {
size_t len;
size_t align;
unsigned int heap_mask;
unsigned int flags;
struct ion_handle *handle;
};