mirror of
https://github.com/NVIDIA/open-gpu-kernel-modules.git
synced 2026-03-02 11:49:55 +00:00
525.47.07
This commit is contained in:
@@ -46,7 +46,7 @@ static struct proc_dir_entry *uvm_proc_dir;
|
||||
static struct proc_dir_entry *uvm_proc_gpus;
|
||||
static struct proc_dir_entry *uvm_proc_cpu;
|
||||
|
||||
NV_STATUS uvm_procfs_init()
|
||||
NV_STATUS uvm_procfs_init(void)
|
||||
{
|
||||
if (!uvm_procfs_is_enabled())
|
||||
return NV_OK;
|
||||
@@ -66,17 +66,17 @@ NV_STATUS uvm_procfs_init()
|
||||
return NV_OK;
|
||||
}
|
||||
|
||||
void uvm_procfs_exit()
|
||||
void uvm_procfs_exit(void)
|
||||
{
|
||||
proc_remove(uvm_proc_dir);
|
||||
}
|
||||
|
||||
struct proc_dir_entry *uvm_procfs_get_gpu_base_dir()
|
||||
struct proc_dir_entry *uvm_procfs_get_gpu_base_dir(void)
|
||||
{
|
||||
return uvm_proc_gpus;
|
||||
}
|
||||
|
||||
struct proc_dir_entry *uvm_procfs_get_cpu_base_dir()
|
||||
struct proc_dir_entry *uvm_procfs_get_cpu_base_dir(void)
|
||||
{
|
||||
return uvm_proc_cpu;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user