From 7e66f2a63d4855e763fa768047dfc32f6f96b771 Mon Sep 17 00:00:00 2001 From: Antony Clince Alex Date: Thu, 26 Apr 2018 09:59:35 +0530 Subject: gpu: nvgpu: created os-agnostic sim header. added a os-agnostic sim.h header which could be included in by any platform, moved out os specific headers to nvgpu/linux. JIRA VQRM-2368 Change-Id: I3861bfa75a6b8d2d909bc7223467fd68c208275b Signed-off-by: Antony Clince Alex Reviewed-on: https://git-master.nvidia.com/r/1702816 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/common/linux/sim_pci.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'drivers/gpu/nvgpu/common/linux/sim_pci.c') diff --git a/drivers/gpu/nvgpu/common/linux/sim_pci.c b/drivers/gpu/nvgpu/common/linux/sim_pci.c index 9dac630c..d37767b7 100644 --- a/drivers/gpu/nvgpu/common/linux/sim_pci.c +++ b/drivers/gpu/nvgpu/common/linux/sim_pci.c @@ -24,11 +24,10 @@ #include #include #include +#include #include "gk20a/gk20a.h" #include "os_linux.h" #include "module.h" -#include "sim.h" /* will be removed in subsequent patches */ -#include "sim_pci.h"/* will be removed in subsequent patches */ static bool _nvgpu_pci_is_simulation(struct gk20a *g, u32 sim_base) { @@ -50,7 +49,6 @@ void nvgpu_remove_sim_support_linux_pci(struct gk20a *g) is_simulation = _nvgpu_pci_is_simulation(g, sim_r()); if (!is_simulation) { - nvgpu_warn(g, "not in sim_mode"); return; } -- cgit v1.2.2