diff options
| author | Krishna Reddy <vdumpa@nvidia.com> | 2014-03-24 12:34:59 -0400 |
|---|---|---|
| committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:09:07 -0400 |
| commit | e142b8479c2ef52df3d5bcdc59d0c64a32d9490f (patch) | |
| tree | 416c6a0b2e2bfa674c58469fb532c9578c2ace50 /include/linux/nvmap.h | |
| parent | f28b7ca593107c36533bec6affe53952e85fd7b1 (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/nvmap.h')
| -rw-r--r-- | include/linux/nvmap.h | 6 |
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 | ||
| 59 | struct nvmap_handle; | ||
| 60 | |||
| 61 | struct dma_buf *nvmap_alloc_dmabuf(size_t size, size_t align, | 59 | struct 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 | ||
| 228 | struct nvmap_cache_op_list { | 226 | struct 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 | ||
