Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 434688 Details for
Bug 583484
=app-emulation/vmware-modules-304.3-r1: fails to build against kernel 4.6.x
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to compile vmware 304 with kernel 4.6
vmware-304.3-kernel.4.6.patch (text/plain), 2.51 KB, created by
Misha
on 2016-05-19 09:53:00 UTC
(
hide
)
Description:
patch to compile vmware 304 with kernel 4.6
Filename:
MIME Type:
Creator:
Misha
Created:
2016-05-19 09:53:00 UTC
Size:
2.51 KB
patch
obsolete
>diff -Naur b/vmci-only/linux/driver.c a/vmci-only/linux/driver.c >--- b/vmci-only/linux/driver.c 2016-05-19 12:37:11.970424952 +0300 >+++ a/vmci-only/linux/driver.c 2016-05-19 12:38:35.255187016 +0300 >@@ -1470,7 +1470,7 @@ > int retval; > > down_read(¤t->mm->mmap_sem); >- retval = get_user_pages(current, current->mm, addr, >+ retval = get_user_pages(addr, > 1, 1, 0, &page, NULL); > up_read(¤t->mm->mmap_sem); > >diff -Naur b/vmci-only/linux/vmciKernelIf.c a/vmci-only/linux/vmciKernelIf.c >--- b/vmci-only/linux/vmciKernelIf.c 2016-05-19 12:37:11.970424952 +0300 >+++ a/vmci-only/linux/vmciKernelIf.c 2016-05-19 12:46:08.562417778 +0300 >@@ -1835,7 +1835,7 @@ > if (dirty) { > set_page_dirty(pages[i]); > } >- page_cache_release(pages[i]); >+ put_page(pages[i]); > pages[i] = NULL; > } > } >@@ -2049,9 +2049,7 @@ > int err = VMCI_SUCCESS; > > down_write(¤t->mm->mmap_sem); >- retval = get_user_pages(current, >- current->mm, >- (VA)produceUVA, >+ retval = get_user_pages((VA)produceUVA, > produceQ->kernelIf->numPages, > 1, 0, > produceQ->kernelIf->u.h.headerPage, >@@ -2063,9 +2061,7 @@ > goto out; > } > >- retval = get_user_pages(current, >- current->mm, >- (VA)consumeUVA, >+ retval = get_user_pages((VA)consumeUVA, > consumeQ->kernelIf->numPages, > 1, 0, > consumeQ->kernelIf->u.h.headerPage, >diff -Naur b/vmmon-only/linux/hostif.c a/vmmon-only/linux/hostif.c >--- b/vmmon-only/linux/hostif.c 2016-05-19 12:37:11.967424996 +0300 >+++ a/vmmon-only/linux/hostif.c 2016-05-19 12:37:57.594746797 +0300 >@@ -1167,7 +1167,7 @@ > int retval; > > down_read(¤t->mm->mmap_sem); >- retval = get_user_pages(current, current->mm, (unsigned long)uvAddr, >+ retval = get_user_pages((unsigned long)uvAddr, > numPages, 0, 0, ppages, NULL); > up_read(¤t->mm->mmap_sem); > >diff -Naur b/vmnet-only/userif.c a/vmnet-only/userif.c >--- b/vmnet-only/userif.c 2016-05-19 12:37:11.968424982 +0300 >+++ a/vmnet-only/userif.c 2016-05-19 12:38:17.634448929 +0300 >@@ -113,7 +113,7 @@ > int retval; > > down_read(¤t->mm->mmap_sem); >- retval = get_user_pages(current, current->mm, addr, >+ retval = get_user_pages(addr, > 1, 1, 0, &page, NULL); > up_read(¤t->mm->mmap_sem); >
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 583484
: 434688