aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/ttm/ttm_bo.c
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>2013-01-15 08:57:28 -0500
committerMaarten Lankhorst <maarten.lankhorst@canonical.com>2013-01-15 10:49:39 -0500
commitcc4c0c4de3c775be22072ec3251f2e581b63d9a0 (patch)
tree3c0a42c628c0388681687e68c420f3a2721d89ed /drivers/gpu/drm/ttm/ttm_bo.c
parentc354c893dd57aac11f5d96ada7c47a20fe090a6e (diff)
drm/ttm: unexport ttm_bo_wait_unreserved
All legitimate users of this function outside ttm_bo.c are gone, now it's only an implementation detail. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> Reviewed-by: Jerome Glisse <jglisse@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/ttm/ttm_bo.c')
-rw-r--r--drivers/gpu/drm/ttm/ttm_bo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_bo.c b/drivers/gpu/drm/ttm/ttm_bo.c
index 4dd6f9e77a7d..4df47f72214a 100644
--- a/drivers/gpu/drm/ttm/ttm_bo.c
+++ b/drivers/gpu/drm/ttm/ttm_bo.c
@@ -158,7 +158,8 @@ static void ttm_bo_release_list(struct kref *list_kref)
158 ttm_mem_global_free(bdev->glob->mem_glob, acc_size); 158 ttm_mem_global_free(bdev->glob->mem_glob, acc_size);
159} 159}
160 160
161int ttm_bo_wait_unreserved(struct ttm_buffer_object *bo, bool interruptible) 161static int ttm_bo_wait_unreserved(struct ttm_buffer_object *bo,
162 bool interruptible)
162{ 163{
163 if (interruptible) { 164 if (interruptible) {
164 return wait_event_interruptible(bo->event_queue, 165 return wait_event_interruptible(bo->event_queue,
@@ -168,7 +169,6 @@ int ttm_bo_wait_unreserved(struct ttm_buffer_object *bo, bool interruptible)
168 return 0; 169 return 0;
169 } 170 }
170} 171}
171EXPORT_SYMBOL(ttm_bo_wait_unreserved);
172 172
173void ttm_bo_add_to_lru(struct ttm_buffer_object *bo) 173void ttm_bo_add_to_lru(struct ttm_buffer_object *bo)
174{ 174{