summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorKrishna Reddy <vdumpa@nvidia.com>2014-03-24 12:34:59 -0400
committerDan Willemsen <dwillemsen@nvidia.com>2015-03-18 15:09:07 -0400
commite142b8479c2ef52df3d5bcdc59d0c64a32d9490f (patch)
tree416c6a0b2e2bfa674c58469fb532c9578c2ace50 /include/linux
parentf28b7ca593107c36533bec6affe53952e85fd7b1 (diff)
nvmap: remove unnecessary CONFIG_COMPAT check
remove unnecessary CONFIG_COMPAT check for the ioctl nvmap_cache_op_list. remove unnecessary forward declation for nvmap_handle. Change-Id: I4c0abd93a92174f7d5920d1dc66460b99e837953 Signed-off-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-on: http://git-master/r/385718 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Vandana Salve <vsalve@nvidia.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/nvmap.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/nvmap.h b/include/linux/nvmap.h
index 079c74128..78f2eabe1 100644
--- a/include/linux/nvmap.h
+++ b/include/linux/nvmap.h
@@ -56,8 +56,6 @@
56 56
57#if defined(__KERNEL__) 57#if defined(__KERNEL__)
58 58
59struct nvmap_handle;
60
61struct dma_buf *nvmap_alloc_dmabuf(size_t size, size_t align, 59struct dma_buf *nvmap_alloc_dmabuf(size_t size, size_t align,
62 unsigned int flags, 60 unsigned int flags,
63 unsigned int heap_mask); 61 unsigned int heap_mask);
@@ -226,11 +224,7 @@ struct nvmap_cache_op_32 {
226#endif 224#endif
227 225
228struct nvmap_cache_op_list { 226struct nvmap_cache_op_list {
229#ifdef CONFIG_COMPAT
230 __u32 handles; /* Uspace ptr to list of handles */ 227 __u32 handles; /* Uspace ptr to list of handles */
231#else
232 struct nvmap_handle **handles;
233#endif
234 __u32 nr; /* Number of handles */ 228 __u32 nr; /* Number of handles */
235}; 229};
236 230