summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/mm
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2017-04-11 15:04:25 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-04-12 10:01:12 -0400
commit44d5fb76aa42f0d9cb9828ac05f014e8fee5ab94 (patch)
tree842d0f7a382094d4aedf83bf2484e78dc696aa8f /drivers/gpu/nvgpu/common/mm
parent7665421874e66f0b00d52a5f1db5210895a9ab7b (diff)
gpu: nvgpu: Add wrapper nvgpu/atomic.h
Add wrapper header file nvgpu/atomic.h. It #includes <linux/atomic.h> on Linux. JIRA NVGPU-13 Change-Id: I6f2b3a04c964e7664b1f61b6073b643629bd99c5 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1460792 Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/mm')
-rw-r--r--drivers/gpu/nvgpu/common/mm/lockless_allocator.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/common/mm/lockless_allocator.c b/drivers/gpu/nvgpu/common/mm/lockless_allocator.c
index 93c870b5..dc72d8bf 100644
--- a/drivers/gpu/nvgpu/common/mm/lockless_allocator.c
+++ b/drivers/gpu/nvgpu/common/mm/lockless_allocator.c
@@ -14,8 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16 16
17#include <linux/atomic.h> 17#include <nvgpu/atomic.h>
18
19#include <nvgpu/allocator.h> 18#include <nvgpu/allocator.h>
20#include <nvgpu/kmem.h> 19#include <nvgpu/kmem.h>
21 20