aboutsummaryrefslogtreecommitdiff
path: root/linux-core/xgi_fb.c
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2007-07-19 11:38:56 -0700
committerIan Romanick <idr@us.ibm.com>2007-07-19 11:38:56 -0700
commit15245b670e5359a7dbf9151aa9f160e929e0b46b (patch)
tree7d5cfcad5dfdb667183ce66bea61aec10f3b55d7 /linux-core/xgi_fb.c
parent2f53ce4af2f7db911d908ff382738f30be004e8b (diff)
Rework xgi_(pcie|fb)_free_all to prevent deadlock.
Diffstat (limited to 'linux-core/xgi_fb.c')
-rw-r--r--linux-core/xgi_fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/xgi_fb.c b/linux-core/xgi_fb.c
index ce689847..a5885198 100644
--- a/linux-core/xgi_fb.c
+++ b/linux-core/xgi_fb.c
@@ -365,7 +365,7 @@ void xgi_fb_free_all(struct xgi_info * info, DRMFILE filp)
break;
}
- (void) xgi_fb_free(info, block->offset, filp);
+ (void) xgi_mem_free(&info->fb_heap, block->offset, filp);
} while(1);
up(&info->fb_sem);