mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: Add utils header for posix
Move all definitions and functions other than type defines from types.h to new header utils.h for posix. Update files that use functions and defintions from utils.h DIV_ROUND_UP macro is updated to use safe_ops.h calls to handle the CERT-C wrap issues. Jira NVGPU-3411 Change-Id: I9da3e9f255f39949287c615519f062fd8816aa04 Signed-off-by: Vinod G <vinodg@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2130453 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com> Reviewed-by: Philip Elcan <pelcan@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
60c3be3ca9
commit
4201f58e1e
@@ -24,6 +24,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdatomic.h>
|
||||
|
||||
#include <nvgpu/posix/utils.h>
|
||||
#include <nvgpu/posix/bitops.h>
|
||||
#include <nvgpu/posix/atomic.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user