diff options
Diffstat (limited to 'src/gallium/drivers/nouveau')
-rw-r--r-- | src/gallium/drivers/nouveau/nouveau_mm.c | 4 | ||||
-rw-r--r-- | src/gallium/drivers/nouveau/nv30/nv30_query.c | 2 |
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; |