diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-04-11 17:47:51 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-04-13 11:56:06 -0400 |
commit | a0fa2b0258dafcd7a2450ab5366a49663b1d2e89 (patch) | |
tree | 95f1023fbd36209f6cc07341ce708049e75474d6 /drivers/gpu/nvgpu/perf | |
parent | 7ef1eb8a10e507d8ba3b92e24472c06500fd5f36 (diff) |
gpu: nvgpu: Add wrapper nvgpu/bug.h
Add wrapper header file nvgpu/bug.h. It #includes <linux/bug.h>
in Linux.
JIRA NVGPU-13
Change-Id: I7bf02ba554333f7cbd79d72bd1cb423c81ebcb49
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1461545
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/perf')
-rw-r--r-- | drivers/gpu/nvgpu/perf/perf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/perf/perf.c b/drivers/gpu/nvgpu/perf/perf.c index 3c27c6fc..871ff753 100644 --- a/drivers/gpu/nvgpu/perf/perf.c +++ b/drivers/gpu/nvgpu/perf/perf.c | |||
@@ -16,6 +16,8 @@ | |||
16 | #include "gk20a/pmu_gk20a.h" | 16 | #include "gk20a/pmu_gk20a.h" |
17 | #include "clk/clk_arb.h" | 17 | #include "clk/clk_arb.h" |
18 | 18 | ||
19 | #include <nvgpu/bug.h> | ||
20 | |||
19 | struct perfrpc_pmucmdhandler_params { | 21 | struct perfrpc_pmucmdhandler_params { |
20 | struct nv_pmu_perf_rpc *prpccall; | 22 | struct nv_pmu_perf_rpc *prpccall; |
21 | u32 success; | 23 | u32 success; |