agp: don't lock pages

AGP should not need to lock pages. They are not protecting any race
because there is no lock_page calls, only SetPageLocked.

This is causing hangs with d00806b183.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Nick Piggin
2007-07-25 13:19:22 +02:00
کامیت شده توسط Dave Airlie
والد c99c108ac3
کامیت a51b34593f
3فایلهای تغییر یافته به همراه0 افزوده شده و 5 حذف شده

مشاهده پرونده

@@ -51,7 +51,6 @@ static void *sgi_tioca_alloc_page(struct agp_bridge_data *bridge)
return NULL;
get_page(page);
SetPageLocked(page);
atomic_inc(&agp_bridge->current_memory_agp);
return page_address(page);
}