aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/virgl/common/virgl_resource_cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/winsys/virgl/common/virgl_resource_cache.c')
-rw-r--r--src/gallium/winsys/virgl/common/virgl_resource_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/virgl/common/virgl_resource_cache.c b/src/gallium/winsys/virgl/common/virgl_resource_cache.c
index a022e202f68..c78cfb4f9ef 100644
--- a/src/gallium/winsys/virgl/common/virgl_resource_cache.c
+++ b/src/gallium/winsys/virgl/common/virgl_resource_cache.c
@@ -91,7 +91,7 @@ virgl_resource_cache_add(struct virgl_resource_cache *cache,
entry->timeout_start = now;
entry->timeout_end = entry->timeout_start + cache->timeout_usecs;
- LIST_ADDTAIL(&entry->head, &cache->resources);
+ list_addtail(&entry->head, &cache->resources);
}
struct virgl_resource_cache_entry *