mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
gpu: nvgpu: Add posix condition in sim.h
Without this the default fall back includes are the rmos headers which are obviously not present for the POSUX build. Change-Id: Iaf7d459e09c62dd57c5b33e21934e40f5780840a Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1727427 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
3f27b8f089
commit
ac5438d983
@@ -42,6 +42,8 @@ struct sim_nvgpu {
|
||||
#ifdef __KERNEL__
|
||||
#include "linux/sim.h"
|
||||
#include "linux/sim_pci.h"
|
||||
#elif defined(__NVGPU_POSIX__)
|
||||
/* Nothing for POSIX-nvgpu. */
|
||||
#else
|
||||
#include <nvgpu_rmos/include/sim.h>
|
||||
#include <nvgpu_rmos/include/sim_pci.h>
|
||||
|
||||
Reference in New Issue
Block a user