Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 48104 | Differences between
and this patch

Collapse All | Expand All

(-)work/lib/modules/fglrx/build_mod/agpgart_be.c (-2 / +2 lines)
Lines 1402-1408 Link Here
1402
    }
1402
    }
1403
#endif
1403
#endif
1404
1404
1405
    atomic_inc(&page->count);
1405
    get_page(page);
1406
    set_bit(PG_locked, &page->flags);
1406
    set_bit(PG_locked, &page->flags);
1407
    atomic_inc(&agp_bridge.current_memory_agp);
1407
    atomic_inc(&agp_bridge.current_memory_agp);
1408
1408
Lines 1449-1455 Link Here
1449
    put_page(page);
1449
    put_page(page);
1450
    UnlockPage(page);
1450
    UnlockPage(page);
1451
#else /* AGPGART_2_4_19 */
1451
#else /* AGPGART_2_4_19 */
1452
    atomic_dec(&page->count);                                                 
1452
    get_page(page);
1453
    clear_bit(PG_locked, &page->flags);                                       
1453
    clear_bit(PG_locked, &page->flags);                                       
1454
    wake_up(&page->wait);                                                     
1454
    wake_up(&page->wait);                                                     
1455
#endif /* AGPGART_2_4_19 */
1455
#endif /* AGPGART_2_4_19 */
(-)work/lib/modules/fglrx/build_mod/firegl_public.c (-1 / +1 lines)
Lines 2068-2074 Link Here
2068
    pMmPage = virt_to_page(kaddr);
2068
    pMmPage = virt_to_page(kaddr);
2069
#endif /* LINUX_VERSION_CODE < 0x020400 */
2069
#endif /* LINUX_VERSION_CODE < 0x020400 */
2070
2070
2071
    atomic_inc(&(pMmPage->count));  /* inc usage count of page */
2071
    get_page(pMmPage);  /* inc usage count of page */
2072
2072
2073
#if LINUX_VERSION_CODE >= 0x020400
2073
#if LINUX_VERSION_CODE >= 0x020400
2074
  //  __KE_DEBUG3("vm-address 0x%08lx => kernel-page-address 0x%p\n",
2074
  //  __KE_DEBUG3("vm-address 0x%08lx => kernel-page-address 0x%p\n",

Return to bug 48104