mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
2c88cd50a40032c6b04e258331812eecdee711a8
In order to show that atomicity tests prove atomicity, we need to show non-atomic operations fail. This patch is the first step toward that, which is to add support for non-atomic operations. Since the common functions for the different operations must now support 3 options (32-bit, 64-bit, and non-atomic), change the macros to inline functions for decreased complexity and better readability. JIRA NVGPU-2251 Change-Id: I721373af1eff02d82ade45d1668ad6781bd6d7e2 Signed-off-by: Philip Elcan <pelcan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2079376 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>
Description
No description provided