Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <...>
- # if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 10, 0)
- , NULL /* locked */
- # endif
- );
- #else /* LINUX_VERSION_CODE < KERNEL_VERSION(4, 6, 0) */
- # if LEAP_VERSION == (4, 2, 3)
- rc = get_user_pages(R3Ptr,
- #else
- rc = get_user_pages(pTask, /* Task for fault accounting. */
- pTask->mm, /* Whose pages. */
- R3Ptr, /* Where from. */
- cPages, /* How many pages. */
- # endif
- # if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0)) && (LEAP_VERSION == (4, 2, 3))
- fWrite ? FOLL_WRITE | /* Write to memory. */
- FOLL_FORCE /* force write access. */
- : 0, /* Write to memory. */
- # if LEAP_VERSION != (4, 2, 3)
- fWrite, /* Write to memory. */
- fWrite, /* force write access. */
- # endif
- &pMemLnx->apPages[0], /* Page array. */
- papVMAs); /* vmas */
- #endif /* LINUX_VERSION_CODE < KERNEL_VERSION(4, 6, 0) */
- <...>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement