]> git.pld-linux.org Git - packages/X11-driver-firegl.git/blame - X11-driver-firegl-atomic.patch
- atomic (count) fixes.
[packages/X11-driver-firegl.git] / X11-driver-firegl-atomic.patch
CommitLineData
974a585c
PS
1--- XFree86-driver-firegl-3.9.0/lib/modules/fglrx/build_mod/agpgart_be.c.orig 2004-05-30 22:18:54.797284104 +0200
2+++ XFree86-driver-firegl-3.9.0/lib/modules/fglrx/build_mod/agpgart_be.c 2004-05-30 22:17:13.355705568 +0200
3@@ -1402,7 +1402,7 @@
4 }
5 #endif
6
7- atomic_inc(&page->count);
8+ atomic_inc(&page->_count);
9 set_bit(PG_locked, &page->flags);
10 atomic_inc(&agp_bridge.current_memory_agp);
11
12--- XFree86-driver-firegl-3.9.0/lib/modules/fglrx/build_mod/firegl_public.c.orig 2004-05-30 22:15:49.000000000 +0200
13+++ XFree86-driver-firegl-3.9.0/lib/modules/fglrx/build_mod/firegl_public.c 2004-05-30 22:18:41.629285944 +0200
14@@ -2010,7 +2010,7 @@
15 pMmPage = virt_to_page(kaddr);
16 #endif /* LINUX_VERSION_CODE < 0x020400 */
17
18- atomic_inc(&(pMmPage->count)); /* inc usage count of page */
19+ atomic_inc(&(pMmPage->_count)); /* inc usage count of page */
20
21 #if LINUX_VERSION_CODE >= 0x020400
22 // __KE_DEBUG3("vm-address 0x%08lx => kernel-page-address 0x%p\n",
This page took 0.024174 seconds and 4 git commands to generate.