summarylogtreecommitdiffstats
path: root/PwrProfSharedMemOps_linux_6.3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'PwrProfSharedMemOps_linux_6.3.patch')
-rw-r--r--PwrProfSharedMemOps_linux_6.3.patch14
1 files changed, 0 insertions, 14 deletions
diff --git a/PwrProfSharedMemOps_linux_6.3.patch b/PwrProfSharedMemOps_linux_6.3.patch
deleted file mode 100644
index 9305c712d103..000000000000
--- a/PwrProfSharedMemOps_linux_6.3.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- a/src/PwrProfSharedMemOps.c 2023-05-22 09:25:25.497609732 +0200
-+++ b/src/PwrProfSharedMemOps.c 2023-05-22 09:27:59.994309381 +0200
-@@ -219,7 +219,11 @@
- if (NULL != file && NULL != vma)
- {
- vma->vm_ops = &sharedBuffer_mmap_vm_ops1;
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 3, 0)
-+ vm_flags_set(vma, VM_RESERVED);
-+#else
- vma->vm_flags |= VM_RESERVED;
-+#endif
- vma->vm_private_data = file->private_data;
-
- pp_anon_inode_mmap_open(vma);