diff options
author | Alex Waterman <alexw@nvidia.com> | 2018-05-30 12:16:06 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-06-27 11:42:52 -0400 |
commit | 2ac6fb4253fa815ed17f09a01141b938c826dac9 (patch) | |
tree | 71e65d7fbd090459d628d7024cda4ca52cbc60c5 /drivers/gpu/nvgpu/gp10b/gp10b.c | |
parent | 0b0b8209114e4ec7f916b55150eb1bbb99c35c4f (diff) |
gpu: nvgpu: posix: Fix ffs() and fls() impl in POSIX
The GCC builtins act slightly differently than the Linux versions
of these functions. This patch adds the necessary glue to emulate
the Linux versions identically.
JIRA NVGPU-525
Change-Id: Idadbecdfd516c68f3d3eb20eca495dc1eaa02c5b
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1741951
GVS: Gerrit_Virtual_Submit
Reviewed-by: Konsta Holtta <kholtta@nvidia.com>
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/gp10b/gp10b.c')
0 files changed, 0 insertions, 0 deletions