Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 32176 Details for
Bug 48104
media-video/ati-drivers-3.7.6-rc1 fail to compile against development-sources-2.6.6-rc1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fixes the "structure has no member named `count'" compile error
2.6.6-count.patch (text/plain), 1.46 KB, created by
Tarmo Tänav
on 2004-05-27 16:50:17 UTC
(
hide
)
Description:
Fixes the "structure has no member named `count'" compile error
Filename:
MIME Type:
Creator:
Tarmo Tänav
Created:
2004-05-27 16:50:17 UTC
Size:
1.46 KB
patch
obsolete
>diff -u --recursive work/lib/modules/fglrx/build_mod/agpgart_be.c work.new/lib/modules/fglrx/build_mod/agpgart_be.c >--- work/lib/modules/fglrx/build_mod/agpgart_be.c 2004-03-04 19:25:44.000000000 +0200 >+++ work.new/lib/modules/fglrx/build_mod/agpgart_be.c 2004-05-20 21:56:53.008673000 +0300 >@@ -1402,7 +1402,7 @@ > } > #endif > >- atomic_inc(&page->count); >+ get_page(page); > set_bit(PG_locked, &page->flags); > atomic_inc(&agp_bridge.current_memory_agp); > >@@ -1449,7 +1449,7 @@ > put_page(page); > UnlockPage(page); > #else /* AGPGART_2_4_19 */ >- atomic_dec(&page->count); >+ get_page(page); > clear_bit(PG_locked, &page->flags); > wake_up(&page->wait); > #endif /* AGPGART_2_4_19 */ >diff -u --recursive work/lib/modules/fglrx/build_mod/firegl_public.c work.new/lib/modules/fglrx/build_mod/firegl_public.c >--- work/lib/modules/fglrx/build_mod/firegl_public.c 2004-05-20 21:59:25.316493006 +0300 >+++ work.new/lib/modules/fglrx/build_mod/firegl_public.c 2004-05-20 21:55:26.942948000 +0300 >@@ -2068,7 +2068,7 @@ > pMmPage = virt_to_page(kaddr); > #endif /* LINUX_VERSION_CODE < 0x020400 */ > >- atomic_inc(&(pMmPage->count)); /* inc usage count of page */ >+ get_page(pMmPage); /* inc usage count of page */ > > #if LINUX_VERSION_CODE >= 0x020400 > // __KE_DEBUG3("vm-address 0x%08lx => kernel-page-address 0x%p\n",
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 48104
:
31912
|
31913
| 32176