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 */ |