summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Hartmann <jhartmann@valinux.com>2000-01-28 02:11:01 +0000
committerJeff Hartmann <jhartmann@valinux.com>2000-01-28 02:11:01 +0000
commit9fcbf05c442d0b45d0fa7d7aca28e1f3c67de65a (patch)
tree889ad2606597d6ce8e4e950037095da3388279b5
parent84ad2d4aaea46ca2be005a37bd99dc5be1b2a891 (diff)
Fixed freelist_put bug
-rw-r--r--linux/lists.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/lists.c b/linux/lists.c
index 442bb2a6..120817cc 100644
--- a/linux/lists.c
+++ b/linux/lists.c
@@ -25,7 +25,7 @@
* DEALINGS IN THE SOFTWARE.
*
* $PI: xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/lists.c,v 1.3 1999/08/20 15:07:02 faith Exp $
- * $XFree86: xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/lists.c,v 1.2 1999/12/14 01:33:57 robin Exp $
+ * $XFree86: xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/lists.c,v 1.1 1999/09/25 14:38:01 dawes Exp $
*
*/
@@ -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");