diff options
author | Sami Kiminki <skiminki@nvidia.com> | 2018-05-24 13:03:54 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-05-30 14:56:23 -0400 |
commit | 97983e9c6024ec8ae12275e5afff8122c733a3c8 (patch) | |
tree | 81d0bea48fe8d9f294156e56fd56120074846c6b /drivers/gpu/nvgpu | |
parent | f0904be5e4bcd3d4c1bc18534129ee9418b97153 (diff) |
gpu: nvgpu: Make the header compile for userspace builds
Do the quick fixes to make the header compile on userspace builds
without changes. Namely:
- define __packed only if not yet defined
- Fix the NVGPU_NO_TIMEOUT definition ((u32)~0) --> ((__u32)~0U)
- Remove the left-over definition of NVGPU_AS_IOCTL_MAP_BUFFER. It
refers to a struct that no longer exists.
Bug 1777616
Bug 1902982
Change-Id: I964aa5eff7bfade6af4fd0635680fd6af29d623b
Signed-off-by: Sami Kiminki <skiminki@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1729654
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu')
0 files changed, 0 insertions, 0 deletions