mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
Update the initial POSIX atomic implementation to use GCC builtin atomic functions for unit testing. The original implementation assumed single access. This enables the apis to actually be atomic safe. JIRA NVGPU-2842 Change-Id: If91f5215aed27b1efb20cab862fea2d91cbf4be0 Signed-off-by: Philip Elcan <pelcan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2030723 GVS: Gerrit_Virtual_Submit Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>