summarylogtreecommitdiffstats
path: root/nvidia-drivers-pax-constify.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nvidia-drivers-pax-constify.patch')
-rw-r--r--nvidia-drivers-pax-constify.patch17
1 files changed, 0 insertions, 17 deletions
diff --git a/nvidia-drivers-pax-constify.patch b/nvidia-drivers-pax-constify.patch
deleted file mode 100644
index 0944dc1baab9..000000000000
--- a/nvidia-drivers-pax-constify.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- a/kernel/nvidia-uvm/uvm_common.c
-+++ b/kernel/nvidia-uvm/uvm_common.c
-@@ -147,9 +147,11 @@ static RM_STATUS uvmSetupGpuProvider(void)
- RM_STATUS status = RM_OK;
-
- #ifdef NVIDIA_UVM_RM_ENABLED
-- g_exportedUvmOps.startDevice = uvm_gpu_event_start_device;
-- g_exportedUvmOps.stopDevice = uvm_gpu_event_stop_device;
-- g_exportedUvmOps.isrTopHalf = uvmnext_isr_top_half;
-+ static struct UvmOpsUvmEvents g_exportedUvmOps = {
-+ .startDevice = uvm_gpu_event_start_device,
-+ .stopDevice = uvm_gpu_event_stop_device,
-+ .isrTopHalf = uvmnext_isr_top_half,
-+ };
-
- // call RM to exchange the function pointers.
- status = nvUvmInterfaceRegisterUvmCallbacks(&g_exportedUvmOps);