Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 455962 Details for
Bug 583574
x11-drivers/ati-drivers-15.12-r1 doesn't build with new kernels
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix for 4.9 kernel
kernel-4.9.patch (text/plain), 1.16 KB, created by
adebeus
on 2016-12-12 05:47:49 UTC
(
hide
)
Description:
Fix for 4.9 kernel
Filename:
MIME Type:
Creator:
adebeus
Created:
2016-12-12 05:47:49 UTC
Size:
1.16 KB
patch
obsolete
>--- common/lib/modules/fglrx/build_mod/firegl_public.c.orig 2016-12-11 21:23:15.969699966 -0800 >+++ common/lib/modules/fglrx/build_mod/firegl_public.c 2016-12-11 21:32:08.399695755 -0800 >@@ -3245,7 +3245,9 @@ > int ret; > > down_read(¤t->mm->mmap_sem); >-#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,6,0) >+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,9,0) >+ ret = get_user_pages(vaddr, page_cnt, 1, (struct page **)page_list,NULL); >+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(4,6,0) > ret = get_user_pages(vaddr, page_cnt, 1, 0, (struct page **)page_list, NULL); > #else > ret = get_user_pages(current, current->mm, vaddr, page_cnt, 1, 0, (struct page **)page_list, NULL); >@@ -3267,7 +3269,9 @@ > int ret; > > down_read(¤t->mm->mmap_sem); >-#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,6,0) >+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,9,0) >+ ret = get_user_pages(vaddr, page_cnt, 0, (struct page **)page_list, NULL); >+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(4,6,0) > ret = get_user_pages(vaddr, page_cnt, 0, 0, (struct page **)page_list, NULL); > #else > ret = get_user_pages(current, current->mm, vaddr, page_cnt, 0, 0, (struct page **)page_list, NULL);
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 583574
:
434770
|
435102
|
442216
| 455962 |
464540