From: Jordan Justen Date: Wed, 6 Jan 2016 18:27:57 +0000 (-0800) Subject: anv: Fix build without VALGRIND X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=de65d4dcafcf6b22a71689ef1ef19bbd3dd953da;p=mesa.git anv: Fix build without VALGRIND Signed-off-by: Jordan Justen --- 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);