aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'intel/intel_bufmgr_gem.c')
-rw-r--r--intel/intel_bufmgr_gem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/intel/intel_bufmgr_gem.c b/intel/intel_bufmgr_gem.c
index 71f140f5..386da30e 100644
--- a/intel/intel_bufmgr_gem.c
+++ b/intel/intel_bufmgr_gem.c
@@ -66,7 +66,7 @@
66#include "i915_drm.h" 66#include "i915_drm.h"
67#include "uthash.h" 67#include "uthash.h"
68 68
69#ifdef HAVE_VALGRIND 69#if HAVE_VALGRIND
70#include <valgrind.h> 70#include <valgrind.h>
71#include <memcheck.h> 71#include <memcheck.h>
72#define VG(x) x 72#define VG(x) x
@@ -1629,7 +1629,7 @@ int
1629drm_intel_gem_bo_map_unsynchronized(drm_intel_bo *bo) 1629drm_intel_gem_bo_map_unsynchronized(drm_intel_bo *bo)
1630{ 1630{
1631 drm_intel_bufmgr_gem *bufmgr_gem = (drm_intel_bufmgr_gem *) bo->bufmgr; 1631 drm_intel_bufmgr_gem *bufmgr_gem = (drm_intel_bufmgr_gem *) bo->bufmgr;
1632#ifdef HAVE_VALGRIND 1632#if HAVE_VALGRIND
1633 drm_intel_bo_gem *bo_gem = (drm_intel_bo_gem *) bo; 1633 drm_intel_bo_gem *bo_gem = (drm_intel_bo_gem *) bo;
1634#endif 1634#endif
1635 int ret; 1635 int ret;