projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
util: remove LIST_INITHEAD macro
[mesa.git]
/
src
/
gallium
/
auxiliary
/
pipebuffer
/
pb_cache.c
diff --git
a/src/gallium/auxiliary/pipebuffer/pb_cache.c
b/src/gallium/auxiliary/pipebuffer/pb_cache.c
index 2b9ad4980458bcb0b252ad0375c5f26662f2c96c..95dab4d256c2eac0ab09494b4734f412feecff7c 100644
(file)
--- a/
src/gallium/auxiliary/pipebuffer/pb_cache.c
+++ b/
src/gallium/auxiliary/pipebuffer/pb_cache.c
@@
-290,7
+290,7
@@
pb_cache_init(struct pb_cache *mgr, uint num_heaps,
return;
for (i = 0; i < num_heaps; i++)
-
LIST_INITHEAD
(&mgr->buckets[i]);
+
list_inithead
(&mgr->buckets[i]);
(void) mtx_init(&mgr->mutex, mtx_plain);
mgr->cache_size = 0;