mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
In android ATV build, userspace is 32 bit while kernel is 64 bit. Hence value of NVMAP_IOC_CACHE differs on userspace and kernel space side, as we are using unsigned long data type for addr field. The unsigned long resolves to 32 bit in userspace while 64 bit in kernel space. Use u64 data type which will always resolves to 64 bit. Bug 5111364 Change-Id: I392146e71f7d65ba047ee2dda0d69dd202370968 Signed-off-by: Ketan Patil <ketanp@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3348602 GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com>