Changeset 77730 in vbox
- Timestamp:
- Mar 15, 2019 6:31:47 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
r77727 r77730 66 66 && LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 11))) 67 67 # define VBOX_USE_PAE_HACK 68 #endif 69 70 /* gfp_t was introduced in 2.6.14, define it for earlier. */ 71 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 14) 72 # define gfp_t unsigned 68 73 #endif 69 74 … … 288 293 */ 289 294 static int rtR0MemObjLinuxAllocPages(PRTR0MEMOBJLNX *ppMemLnx, RTR0MEMOBJTYPE enmType, size_t cb, 290 size_t uAlignment, unsignedfFlagsLnx, bool fContiguous, int rcNoMem)295 size_t uAlignment, gfp_t fFlagsLnx, bool fContiguous, int rcNoMem) 291 296 { 292 297 size_t iPage; … … 784 789 */ 785 790 static int rtR0MemObjLinuxAllocPhysSub2(PPRTR0MEMOBJINTERNAL ppMem, RTR0MEMOBJTYPE enmType, 786 size_t cb, size_t uAlignment, RTHCPHYS PhysHighest, unsignedfGfp)791 size_t cb, size_t uAlignment, RTHCPHYS PhysHighest, gfp_t fGfp) 787 792 { 788 793 PRTR0MEMOBJLNX pMemLnx;
Note:
See TracChangeset
for help on using the changeset viewer.