VirtualBox

Ignore:
Timestamp:
Aug 31, 2009 4:15:28 PM (15 years ago)
Author:
vboxsync
Message:

build fix 1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c

    r22616 r22617  
    12681268                    }
    12691269                    rc = fixPte(pTask->mm, ulAddrCur, Phys);
     1270#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0) || defined(HAVE_26_STYLE_REMAP_PAGE_RANGE)
     1271                    rc = remap_page_range(vma, ulAddrCur, Phys, PAGE_SIZE, fPg);
    12701272#else /* 2.4 */
    12711273                    rc = remap_page_range(ulAddrCur, Phys, PAGE_SIZE, fPg);
     
    13131315                        }
    13141316                        rc = fixPte(pTask->mm, ulAddrCur, Phys);
     1317#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0) || defined(HAVE_26_STYLE_REMAP_PAGE_RANGE)
     1318                        rc = remap_page_range(vma, ulAddrCur, Phys, PAGE_SIZE, fPg);
    13151319#else /* 2.4 */
    13161320                        rc = remap_page_range(ulAddrCur, Phys, PAGE_SIZE, fPg);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette