summaryrefslogtreecommitdiff
path: root/src/VBox/Runtime/r0drv
diff options
context:
space:
mode:
authorvboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2022-09-13 10:12:48 +0000
committervboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2022-09-13 10:12:48 +0000
commitbc424891856b31594f0adb65d0f47ec15fa35947 (patch)
tree951aba18bab32542098a415ef4e9afb439723b3c /src/VBox/Runtime/r0drv
parentdc4f23c5b45fc8bd13ad6b8c011ee8895187bdf5 (diff)
downloadVirtualBox-svn-bc424891856b31594f0adb65d0f47ec15fa35947.tar.gz
Backed out r153600: Incorrect fix, bugref:4567:65.
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@96716 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox/Runtime/r0drv')
-rw-r--r--src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c b/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c
index a1c93bafdb0..abd944aab39 100644
--- a/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c
+++ b/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c
@@ -279,11 +279,7 @@ DECLHIDDEN(int) rtR0MemAllocEx(size_t cb, uint32_t fFlags, PRTMEMHDR *ppHdr)
# endif /* !RTMEMALLOC_EXEC_HEAP */
#elif defined(PAGE_KERNEL_EXEC) && defined(CONFIG_X86_PAE)
-# if RTLNX_VER_MIN(5,8,0)
- pHdr = (PRTMEMHDR)__vmalloc(cb + sizeof(*pHdr), GFP_KERNEL | __GFP_HIGHMEM | __GFP_NOWARN);
-# else
pHdr = (PRTMEMHDR)__vmalloc(cb + sizeof(*pHdr), GFP_KERNEL | __GFP_HIGHMEM | __GFP_NOWARN, MY_PAGE_KERNEL_EXEC);
-# endif
#else
pHdr = (PRTMEMHDR)vmalloc(cb + sizeof(*pHdr));
#endif