Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 459250 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]
vmmon patch for kernel 4.9+
vmmon49.patch (text/plain), 775 bytes, created by
Kenton Groombridge
on 2017-01-09 02:55:53 UTC
(
hide
)
Description:
vmmon patch for kernel 4.9+
Filename:
MIME Type:
Creator:
Kenton Groombridge
Created:
2017-01-09 02:55:53 UTC
Size:
775 bytes
patch
obsolete
>diff -ru work.old/linux/hostif.c work/linux/hostif.c >--- work.old/vmmon-only/linux/hostif.c 2016-11-12 02:15:51.000000000 -0500 >+++ work/vmmon-only/linux/hostif.c 2017-01-07 19:59:18.066951565 -0500 >@@ -1162,12 +1162,16 @@ > int retval; > > down_read(¤t->mm->mmap_sem); >+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0) >+ retval = get_user_pages((unsigned long)uvAddr, numPages, 0, ppages, NULL); >+#else > #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 6, 0) > retval = get_user_pages((unsigned long)uvAddr, numPages, 0, 0, ppages, NULL); > #else > retval = get_user_pages(current, current->mm, (unsigned long)uvAddr, > numPages, 0, 0, ppages, NULL); > #endif >+#endif > up_read(¤t->mm->mmap_sem); > > return retval != numPages;
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