From de65d4dcafcf6b22a71689ef1ef19bbd3dd953da Mon Sep 17 00:00:00 2001 From: Jordan Justen Date: Wed, 6 Jan 2016 10:27:57 -0800 Subject: [PATCH] anv: Fix build without VALGRIND Signed-off-by: Jordan Justen --- src/vulkan/anv_allocator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vulkan/anv_allocator.c b/src/vulkan/anv_allocator.c index e49a684aaef..4be149ea695 100644 --- a/src/vulkan/anv_allocator.c +++ b/src/vulkan/anv_allocator.c @@ -740,7 +740,7 @@ anv_state_stream_alloc(struct anv_state_stream *stream, uint32_t block = anv_block_pool_alloc(stream->block_pool); sb = stream->block_pool->map + block; - VALGRIND_MAKE_MEM_UNDEFINED(sb, sizeof(*sb)); + VG(VALGRIND_MAKE_MEM_UNDEFINED(sb, sizeof(*sb))); sb->next = stream->block; sb->offset = block; VG(sb->_vg_ptr = NULL); -- 2.30.2