summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2019-10-28 09:58:31 +1100
committerTimothy Arceri <[email protected]>2019-10-28 11:24:38 +0000
commit255de06c5990797832678d7af01876a1afca5b50 (patch)
tree3e17df349ea8b38c0acb4ac570a39c833858b47b /src/gallium/drivers/nouveau
parent7ae1be102877c2623d16ff72a2ef198de6c301fe (diff)
util: remove LIST_ADDTAIL macro
Just use the inlined function directly. The macro was replaced with the function in ebe304fa540f. Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau')
-rw-r--r--src/gallium/drivers/nouveau/nouveau_mm.c4
-rw-r--r--src/gallium/drivers/nouveau/nv30/nv30_query.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/nouveau/nouveau_mm.c b/src/gallium/drivers/nouveau/nouveau_mm.c
index 9e5f908a10d..90a9ea2d92d 100644
--- a/src/gallium/drivers/nouveau/nouveau_mm.c
+++ b/src/gallium/drivers/nouveau/nouveau_mm.c
@@ -223,11 +223,11 @@ nouveau_mm_free(struct nouveau_mm_allocation *alloc)
if (slab->free == slab->count) {
LIST_DEL(&slab->head);
- LIST_ADDTAIL(&slab->head, &bucket->free);
+ list_addtail(&slab->head, &bucket->free);
} else
if (slab->free == 1) {
LIST_DEL(&slab->head);
- LIST_ADDTAIL(&slab->head, &bucket->used);
+ list_addtail(&slab->head, &bucket->used);
}
FREE(alloc);
diff --git a/src/gallium/drivers/nouveau/nv30/nv30_query.c b/src/gallium/drivers/nouveau/nv30/nv30_query.c
index 5a0c49e2ce3..bb56c26af6a 100644
--- a/src/gallium/drivers/nouveau/nv30/nv30_query.c
+++ b/src/gallium/drivers/nouveau/nv30/nv30_query.c
@@ -80,7 +80,7 @@ nv30_query_object_new(struct nv30_screen *screen)
nv30_query_object_del(screen, &oq);
}
- LIST_ADDTAIL(&qo->list, &screen->queries);
+ list_addtail(&qo->list, &screen->queries);
ntfy = nv30_ntfy(screen, qo);
ntfy[0] = 0x00000000;