mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
In the commit "gpu: nvgpu: unit: update misc atomics to use gcc builtins" the cmpxchg macro used by the "POSIX" build changed and introduced a MISRA 17.3 violation for a macro parameter that needed parentheses. This updates the macro to resolve this violation. Change-Id: I16927ecaa751964f8c397c95086c663a683f8241 Signed-off-by: Philip Elcan <pelcan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2070064 GVS: Gerrit_Virtual_Submit Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: Tejal Kudav <tkudav@nvidia.com> Reviewed-by: Adeel Raza <araza@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>