diff options
author | jhartmann <jhartmann> | 2000-01-28 02:11:01 +0000 |
---|---|---|
committer | jhartmann <jhartmann> | 2000-01-28 02:11:01 +0000 |
commit | 67eb4e0b8d9308db3496a2a52f8cf98463f3305f (patch) | |
tree | 5e04897e3c22c3ddbb960169f4da3a59219d59cb | |
parent | d1fcc319e105ef528b1554397ac0550ff26f351b (diff) |
Fixed freelist_put bug
-rw-r--r-- | xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/lists.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/lists.c b/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/lists.c index b84561f2e..120817ccc 100644 --- a/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/lists.c +++ b/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/lists.c @@ -154,7 +154,7 @@ int drm_freelist_put(drm_device_t *dev, drm_freelist_t *bl, drm_buf_t *buf) buf->list = DRM_LIST_FREE; do { old = bl->next; - bl->next = old; + buf->next = old; prev = cmpxchg(&bl->next, old, buf); if (++count > DRM_LOOPING_LIMIT) { DRM_ERROR("Looping\n"); |