diff options
author | Dave Airlie <airlied@redhat.com> | 2008-05-14 22:43:28 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-05-14 22:43:28 +1000 |
commit | 2712cdeec319d73187a6cccb06522a4125eef619 (patch) | |
tree | 8697085a478e72a33daca02f196ad7fa130ee2fe /linux-core/drm_objects.h | |
parent | bc0836e12a9790f1cc83f8bc29bc05043c4bc840 (diff) |
Revert "ati_pcigart: fixup properly this version might even work"
This reverts commit bc0836e12a9790f1cc83f8bc29bc05043c4bc840.
tree has some kref hacks in it - oops
Diffstat (limited to 'linux-core/drm_objects.h')
-rw-r--r-- | linux-core/drm_objects.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/linux-core/drm_objects.h b/linux-core/drm_objects.h index 427a9170..770fbc56 100644 --- a/linux-core/drm_objects.h +++ b/linux-core/drm_objects.h @@ -65,8 +65,7 @@ struct drm_user_object { struct drm_hash_item hash; struct list_head list; enum drm_object_type type; - struct kref refcount; - + atomic_t refcount; int shareable; struct drm_file *owner; void (*ref_struct_locked) (struct drm_file *priv, @@ -87,9 +86,8 @@ struct drm_user_object { struct drm_ref_object { struct drm_hash_item hash; struct list_head list; - struct kref refcount; + atomic_t refcount; enum drm_ref_type unref_action; - struct drm_file *owner; }; /** |