Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 589364 Details for
Bug 693704
x11-drivers/nvidia-drivers-340.107-r1 patches for recent kernels
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
4.11 Patch
kernel-4.11.patch (text/plain), 1.09 KB, created by
Reuben Martin
on 2019-09-07 21:24:08 UTC
(
hide
)
Description:
4.11 Patch
Filename:
MIME Type:
Creator:
Reuben Martin
Created:
2019-09-07 21:24:08 UTC
Size:
1.09 KB
patch
obsolete
>--- a/kernel/uvm/nvidia_uvm_lite.c 2017-09-27 13:50:46.334075042 +0200 >+++ b/kernel/uvm/nvidia_uvm_lite.c 2017-09-27 13:56:06.358041280 +0200 >@@ -818,7 +818,11 @@ > } > > #if defined(NV_VM_OPERATIONS_STRUCT_HAS_FAULT) >+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 0) > int _fault(struct vm_area_struct *vma, struct vm_fault *vmf) >+#else >+int _fault(struct vm_fault *vmf) >+#endif > { > #if defined(NV_VM_FAULT_HAS_ADDRESS) > unsigned long vaddr = vmf->address; >@@ -828,7 +832,11 @@ > struct page *page = NULL; > int retval; > >+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 0) > retval = _fault_common(vma, vaddr, &page, vmf->flags); >+#else >+ retval = _fault_common(NULL, vaddr, &page, vmf->flags); >+#endif > > vmf->page = page; > >@@ -866,7 +874,11 @@ > // it's dealing with anonymous mapping (see handle_pte_fault). > // > #if defined(NV_VM_OPERATIONS_STRUCT_HAS_FAULT) >+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 0) > int _sigbus_fault(struct vm_area_struct *vma, struct vm_fault *vmf) >+#else >+int _sigbus_fault(struct vm_fault *vmf) >+#endif > { > vmf->page = NULL; > return VM_FAULT_SIGBUS;
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 693704
: 589364 |
589366
|
589368
|
589370
|
589372
|
590074
|
597974
|
598862
|
643168
|
643170
|
643172