diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-06-01 21:27:08 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-06-01 21:27:08 +0100 |
commit | eba9df5b84c2fffc30cc3f300880000a60e38042 (patch) | |
tree | 0802b9523e183cfe3cd5cc3c680049a05b00a6a1 /app-emulation/virtualbox-modules/files | |
parent | d14501acaa1e3634cb0a6f6e356923391009eb46 (diff) |
gentoo auto-resync : 01:06:2023 - 21:27:08
Diffstat (limited to 'app-emulation/virtualbox-modules/files')
-rw-r--r-- | app-emulation/virtualbox-modules/files/virtualbox-modules-7.0.6-kernel-6.3.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/app-emulation/virtualbox-modules/files/virtualbox-modules-7.0.6-kernel-6.3.patch b/app-emulation/virtualbox-modules/files/virtualbox-modules-7.0.6-kernel-6.3.patch deleted file mode 100644 index 3ea343791773..000000000000 --- a/app-emulation/virtualbox-modules/files/virtualbox-modules-7.0.6-kernel-6.3.patch +++ /dev/null @@ -1,27 +0,0 @@ -Linux: vboxdrv: Introduce initial support for kernel 6.3.x series, bugref:10381. -https://www.virtualbox.org/changeset/98867/vbox - -Index: trunk/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c -=================================================================== ---- a/vboxdrv/r0drv/linux/memobj-r0drv-linux.c -+++ b/vboxdrv/r0drv/linux/memobj-r0drv-linux.c -@@ -1402,5 +1402,9 @@ - { - flush_dcache_page(pMemLnx->apPages[rc]); -+#if RTLNX_VER_MIN(6,3,0) -+ vm_flags_set(papVMAs[rc], VM_DONTCOPY | VM_LOCKED); -+#else - papVMAs[rc]->vm_flags |= VM_DONTCOPY | VM_LOCKED; -+#endif - } - -@@ -1873,5 +1877,8 @@ - /* Thes flags help making 100% sure some bad stuff wont happen (swap, core, ++). - * See remap_pfn_range() in mm/memory.c */ --#if RTLNX_VER_MIN(3,7,0) -+ -+#if RTLNX_VER_MIN(6,3,0) -+ vm_flags_set(vma, VM_DONTEXPAND | VM_DONTDUMP); -+#elif RTLNX_VER_MIN(3,7,0) - vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP; - #else |