gpu: nvgpu: nvs: supporting changes to plug nvs with QNX

- Remove '()' from logging macro to fix compilation issue with QNX
- Add NSEC_PER_MSEC which is missing for QNX.

Jira NVGPU-8619

Change-Id: I0bc5c5a9c6979a0a78e29d26a40ca7927b25e5d0
Signed-off-by: prsethi <prsethi@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2754721
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
prsethi
2022-08-02 14:07:02 +00:00
committed by mobile promotions
parent dafbbebafc
commit 440cf0c75e
2 changed files with 6 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2021 NVIDIA Corporation. All rights reserved.
* Copyright (c) 2021-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"),
@@ -42,7 +42,7 @@
#define nvs_log(sched, fmt, args...) \
nvgpu_log((struct gk20a *)(sched)->priv, \
gpu_dbg_nvs_internal, (fmt), ##args)
gpu_dbg_nvs_internal, fmt, ##args)
#endif