diff options
author | Thomas Hellstrom <thellstrom-at-vmware-dot-com> | 2009-04-28 21:03:59 +0200 |
---|---|---|
committer | Thomas Hellstrom <thellstrom-at-vmware-dot-com> | 2009-04-28 21:08:17 +0200 |
commit | 934dcdd36329f9a4123f8549268d2f8e147020c3 (patch) | |
tree | 4c4f388c2d1596c8eab5f317904d27324e4304bc | |
parent | 24e42a3bd135e7b04dfd46be49f8632e78ab1290 (diff) |
ttm: Don't set the ghost object to NULL.
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
-rw-r--r-- | linux-core/ttm/ttm_bo_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/ttm/ttm_bo_util.c b/linux-core/ttm/ttm_bo_util.c index 72e67b57..a893dbda 100644 --- a/linux-core/ttm/ttm_bo_util.c +++ b/linux-core/ttm/ttm_bo_util.c @@ -537,7 +537,7 @@ int ttm_bo_move_accel_cleanup(struct ttm_buffer_object *bo, if (!(man->flags & TTM_MEMTYPE_FLAG_FIXED)) ghost_obj->ttm = NULL; else - ghost_obj = NULL; + bo->ttm = NULL; bo->priv_flags |= TTM_BO_PRIV_FLAG_MOVING; ttm_bo_unreserve(ghost_obj); |