summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-11-14 12:40:46 -0800
committerEric Anholt <[email protected]>2015-01-28 16:33:34 -0800
commitd70eb3851753ed7b57c56e4a7fd538857e4385ce (patch)
tree2f0cf33cb814c832c10b9b2575a8080d1dc47ab9 /src/gallium/drivers/vc4
parent7c99187c6a6144cb9fd9d77261c643257246ede7 (diff)
gallium: Replace u_simple_list.h with util/simple_list.h
The code was exactly the same, except util/ has c++ guards and a struct simple_node declaration. Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/vc4')
-rw-r--r--src/gallium/drivers/vc4/vc4_qir.c2
-rw-r--r--src/gallium/drivers/vc4/vc4_qir.h7
2 files changed, 2 insertions, 7 deletions
diff --git a/src/gallium/drivers/vc4/vc4_qir.c b/src/gallium/drivers/vc4/vc4_qir.c
index 0be60cb04bc..ed20b5624a9 100644
--- a/src/gallium/drivers/vc4/vc4_qir.c
+++ b/src/gallium/drivers/vc4/vc4_qir.c
@@ -22,7 +22,7 @@
*/
#include "util/u_memory.h"
-#include "util/u_simple_list.h"
+#include "util/simple_list.h"
#include "util/ralloc.h"
#include "vc4_qir.h"
diff --git a/src/gallium/drivers/vc4/vc4_qir.h b/src/gallium/drivers/vc4/vc4_qir.h
index 746bff9bbf6..ee869940954 100644
--- a/src/gallium/drivers/vc4/vc4_qir.h
+++ b/src/gallium/drivers/vc4/vc4_qir.h
@@ -31,7 +31,7 @@
#include <string.h>
#include "util/macros.h"
-#include "util/u_simple_list.h"
+#include "util/simple_list.h"
#include "tgsi/tgsi_parse.h"
enum qfile {
@@ -162,11 +162,6 @@ enum qop {
QOP_R4_UNPACK_D
};
-struct simple_node {
- struct simple_node *next;
- struct simple_node *prev;
-};
-
struct queued_qpu_inst {
struct simple_node link;
uint64_t inst;