From b351d89e3a0d0ddcb2d1046da9d820a456949952 Mon Sep 17 00:00:00 2001 From: Sourab Gupta Date: Thu, 31 Aug 2017 10:57:18 +0530 Subject: gpu: nvgpu: include rmos headers in common headers The patch includes rmos atomic.h and barrier.h headers in nvgpu common header files Change-Id: Ia20c9694de0753a2397ab75c98e661f3b155965a Signed-off-by: Sourab Gupta Reviewed-on: https://git-master.nvidia.com/r/1567697 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/include/nvgpu/atomic.h | 2 ++ drivers/gpu/nvgpu/include/nvgpu/barrier.h | 2 ++ 2 files changed, 4 insertions(+) (limited to 'drivers/gpu/nvgpu/include') diff --git a/drivers/gpu/nvgpu/include/nvgpu/atomic.h b/drivers/gpu/nvgpu/include/nvgpu/atomic.h index 2f3651db..0f319f71 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/atomic.h +++ b/drivers/gpu/nvgpu/include/nvgpu/atomic.h @@ -24,6 +24,8 @@ #ifdef __KERNEL__ #include +#else +#include #endif #define NVGPU_ATOMIC_INIT(i) __nvgpu_atomic_init(i) diff --git a/drivers/gpu/nvgpu/include/nvgpu/barrier.h b/drivers/gpu/nvgpu/include/nvgpu/barrier.h index 89f60ef2..01bd3023 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/barrier.h +++ b/drivers/gpu/nvgpu/include/nvgpu/barrier.h @@ -30,6 +30,8 @@ #ifdef __KERNEL__ #include +#else +#include #endif #define nvgpu_mb() __nvgpu_mb() -- cgit v1.2.2