Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 459252 Details for
Bug 605144
app-emulation/vmware-modules fails to build with kernel 4.9.X
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
vmnet patch for kernel 4.9+
vmnet49.patch (text/plain), 688 bytes, created by
Kenton Groombridge
on 2017-01-09 02:56:27 UTC
(
hide
)
Description:
vmnet patch for kernel 4.9+
Filename:
MIME Type:
Creator:
Kenton Groombridge
Created:
2017-01-09 02:56:27 UTC
Size:
688 bytes
patch
obsolete
>diff -ru work.old/vmnet-only/userif.c work/vmnet-only/userif.c >--- work.old/vmnet-only/userif.c 2017-01-07 20:03:23.483949755 -0500 >+++ work/vmnet-only/userif.c 2017-01-07 20:04:10.560949407 -0500 >@@ -113,12 +113,16 @@ > int retval; > > down_read(¤t->mm->mmap_sem); >+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0) >+ retval = get_user_pages(addr, 1, 0, &page, NULL); >+#else > #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 6, 0) > retval = get_user_pages(addr, 1, 1, 0, &page, NULL); > #else > retval = get_user_pages(current, current->mm, addr, > 1, 1, 0, &page, NULL); > #endif >+#endif > up_read(¤t->mm->mmap_sem); > > if (retval != 1) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 605144
:
459250
| 459252 |
459420