mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
nvgpu: Fixes for QNX build structure changes
Minor updates in the path to header files. Change-Id: I6fe1db8f050d9b168a1662f0cb65e15bc13c2195 Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2810665 Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Sagar Kadamati <skadamati@nvidia.com> Reviewed-by: Tejal Kudav <tkudav@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
2c8cfde803
commit
a9e21b487a
@@ -35,7 +35,7 @@
|
||||
#elif defined(NVGPU_HVRTOS)
|
||||
#include <nvgpu_hvrtos/barrier.h>
|
||||
#else
|
||||
#include <nvgpu_rmos/include/barrier.h>
|
||||
#include <nvgpu/qnx/barrier.h>
|
||||
#endif
|
||||
|
||||
#define nvgpu_mb() nvgpu_mb_impl()
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
#elif defined(NVGPU_HVRTOS)
|
||||
#include <nvgpu_hvrtos/log.h>
|
||||
#else
|
||||
#include <nvgpu_rmos/include/log.h>
|
||||
#include <nvgpu/qnx/log.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_NVGPU_NON_FUSA
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
#elif defined(NVGPU_HVRTOS)
|
||||
#include <nvgpu_hvrtos/nvgpu_mem.h>
|
||||
#else
|
||||
#include <nvgpu_rmos/include/nvgpu_mem.h>
|
||||
#include <nvgpu/qnx/nvgpu_mem.h>
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
|
||||
* Copyright (c) 2018-2022, 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"),
|
||||
@@ -28,7 +28,7 @@
|
||||
#elif defined(__NVGPU_POSIX__)
|
||||
#include <nvgpu/posix/pci.h>
|
||||
#elif defined(__QNX__)
|
||||
#include <nvgpu_rmos/include/pci.h>
|
||||
#include <nvgpu/qnx/pci.h>
|
||||
#else
|
||||
/*
|
||||
* In case someone tries to use this without implementing support!
|
||||
|
||||
@@ -59,8 +59,8 @@ struct sim_nvgpu {
|
||||
#elif defined(__NVGPU_POSIX__) || defined(NVGPU_HVRTOS)
|
||||
/* Nothing for POSIX-nvgpu and nvgpu_hvrtos. */
|
||||
#else
|
||||
#include <nvgpu_rmos/include/sim.h>
|
||||
#include <nvgpu_rmos/include/sim_pci.h>
|
||||
#include <nvgpu/qnx/sim.h>
|
||||
#include <nvgpu/qnx/sim_pci.h>
|
||||
#endif
|
||||
int nvgpu_init_sim_support(struct gk20a *g);
|
||||
int nvgpu_init_sim_support_pci(struct gk20a *g);
|
||||
|
||||
@@ -96,7 +96,7 @@ struct nvgpu_os_buffer;
|
||||
#include <nvgpu_hvrtos/vm.h>
|
||||
#else
|
||||
/* QNX include goes here. */
|
||||
#include <nvgpu_rmos/include/vm.h>
|
||||
#include <nvgpu/qnx/vm.h>
|
||||
#endif
|
||||
|
||||
#define NVGPU_VM_NAME_LEN 32U
|
||||
|
||||
Reference in New Issue
Block a user