mirror of
https://github.com/NVIDIA/open-gpu-kernel-modules.git
synced 2026-01-27 03:29:47 +00:00
535.86.05
This commit is contained in:
@@ -2691,3 +2691,17 @@ nvswitch_os_get_supported_register_events_params
|
||||
*os_descriptor = NV_FALSE;
|
||||
return NVL_SUCCESS;
|
||||
}
|
||||
|
||||
NvlStatus
|
||||
nvswitch_os_get_pid
|
||||
(
|
||||
NvU32 *pPid
|
||||
)
|
||||
{
|
||||
if (pPid != NULL)
|
||||
{
|
||||
*pPid = task_pid_nr(current);
|
||||
}
|
||||
|
||||
return NVL_SUCCESS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user