diff options
author | Nick Piggin <npiggin@suse.de> | 2007-07-25 13:19:22 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2007-07-27 02:46:26 +0200 |
commit | a51b34593f691a0837d752a1394dcee19483c607 (patch) | |
tree | 1e87c0139aa6c5a96e73f3664e5c3856f2369c48 /drivers/char/agp/sgi-agp.c | |
parent | AGP: document boot options (diff) | |
download | linux-a51b34593f691a0837d752a1394dcee19483c607.tar.xz linux-a51b34593f691a0837d752a1394dcee19483c607.zip |
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 d00806b183152af6d24f46f0c33f14162ca1262a.
Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/char/agp/sgi-agp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/agp/sgi-agp.c b/drivers/char/agp/sgi-agp.c index cda608c42bea..98cf8abb3e57 100644 --- a/drivers/char/agp/sgi-agp.c +++ b/drivers/char/agp/sgi-agp.c @@ -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); } |