Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 150533 Details for
Bug 218422
x11-drivers/ati-drivers fail to build against 2.6.25-r1 kernel
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
working patch
1.patch (text/plain), 1.35 KB, created by
Tim Mason
on 2008-04-21 21:03:01 UTC
(
hide
)
Description:
working patch
Filename:
MIME Type:
Creator:
Tim Mason
Created:
2008-04-21 21:03:01 UTC
Size:
1.35 KB
patch
obsolete
> --- common/lib/modules/fglrx/build_mod/firegl_public.c.orig 2008-04-06 01:20:21.000000000 -0300 > +++ common/lib/modules/fglrx/build_mod/firegl_public.c 2008-04-06 01:17:58.000000000 -0300 > @@ -1885,7 +1885,7 @@ > */ > KCL_TYPE_Cap ATI_API_CALL KCL_PosixSecurityCapGetEffectiveVector() > { > - return cap_t(current->cap_effective); > + return (current->cap_effective).cap[0]; > } > > /** \brief Set vector of effective security caps for the current process > @@ -1893,7 +1893,7 @@ > */ > void ATI_API_CALL KCL_PosixSecurityCapSetEffectiveVector(KCL_TYPE_Cap cap) > { > - cap_t(current->cap_effective) = cap; > + (current->cap_effective).cap[0] = cap; > } > > /** \brief Get number of available RAM pages > > --- common/lib/modules/fglrx/build_mod/firegl_public.c.orig 2008-04-06 02:10:13.000000000 -0300 > +++ common/lib/modules/fglrx/build_mod/firegl_public.c 2008-04-06 02:23:05.000000000 -0300 > @@ -120,6 +120,7 @@ > #include <asm/cpufeature.h> > #ifdef CONFIG_MTRR > #include <asm/mtrr.h> > +#include <asm/cacheflush.h> > #endif > #include <asm/delay> > #include <linux/agp_backend.h> > @@ -1158,7 +1159,7 @@ > > int ATI_API_CALL KCL_SetPageNoCache(void* virt, int pages) > { > - return change_page_attr(virt_to_page(virt), pages, PAGE_KERNEL_NOCACHE); > + return set_pages_uc(virt_to_page(virt), pages); > } > > /** /brief Call global kernel task/thread scheduler */
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 218422
: 150533