mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: rename atomic.h
- "nvgpu_rmos/include" path is recently added in Makefile under NV_COMPONENT_INCLUDES. atomic.h file is also present in the same path. - This atomic.h is conflicting with QNX OS's atomic.h which needs to be included in some components. - Hence, renaming atomic.h to rmos_atomic.h Bug 200475265 Change-Id: I2a5c28157d1cf388a526765b688c3fe56a666a09 Signed-off-by: Vaibhav Kachore <vkachore@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2021821 Reviewed-by: svc-misra-checker <svc-misra-checker@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: Ankur Kishore <ankkishore@nvidia.com> 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
e7987729bd
commit
a280bfc16e
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
|
||||
* Copyright (c) 2017-2019, NVIDIA CORPORATION. All rights reserved.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
@@ -27,7 +27,7 @@
|
||||
#elif defined(__NVGPU_POSIX__)
|
||||
#include <nvgpu/posix/atomic.h>
|
||||
#else
|
||||
#include <nvgpu_rmos/include/atomic.h>
|
||||
#include <nvgpu_rmos/include/rmos_atomic.h>
|
||||
#endif
|
||||
|
||||
#define NVGPU_ATOMIC_INIT(i) __nvgpu_atomic_init(i)
|
||||
|
||||
Reference in New Issue
Block a user