diff options
| author | Sri Krishna chowdary <schowdary@nvidia.com> | 2014-04-18 17:43:21 -0400 |
|---|---|---|
| committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:09:15 -0400 |
| commit | 6cf8ca026a75975eb029285d3050e7c7eee5cc07 (patch) | |
| tree | 7ae9f5396b5b1ef5713f90fc08fc82b0555422c6 /include/linux/nvmap.h | |
| parent | ebdc693f1f1c424f6e4090a4f0ac0b948d600f38 (diff) | |
video: tegra: nvmap: protect kernel headers from user
rbtree.h should not be visible to user space.
user space needs types.h is needed to identify __u32, __u64 types.
Change-Id: Ia181cbce59965e850db6f9ce26f857a27b62ed10
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/398461
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Tested-by: Krishna Reddy <vdumpa@nvidia.com>
Diffstat (limited to 'include/linux/nvmap.h')
| -rw-r--r-- | include/linux/nvmap.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/nvmap.h b/include/linux/nvmap.h index 8d1ba7f34..f7547dd38 100644 --- a/include/linux/nvmap.h +++ b/include/linux/nvmap.h | |||
| @@ -21,8 +21,9 @@ | |||
| 21 | */ | 21 | */ |
| 22 | 22 | ||
| 23 | #include <linux/ioctl.h> | 23 | #include <linux/ioctl.h> |
| 24 | #include <linux/rbtree.h> | 24 | #include <linux/types.h> |
| 25 | #if defined(__KERNEL__) | 25 | #if defined(__KERNEL__) |
| 26 | #include <linux/rbtree.h> | ||
| 26 | #include <linux/file.h> | 27 | #include <linux/file.h> |
| 27 | #include <linux/dma-buf.h> | 28 | #include <linux/dma-buf.h> |
| 28 | #include <linux/device.h> | 29 | #include <linux/device.h> |
