summaryrefslogtreecommitdiff
path: root/linux/drm_memory.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drm_memory.h')
-rw-r--r--linux/drm_memory.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/linux/drm_memory.h b/linux/drm_memory.h
index ae5737f1..9e14591f 100644
--- a/linux/drm_memory.h
+++ b/linux/drm_memory.h
@@ -34,13 +34,11 @@
#include "drmP.h"
/* Cut down version of drm_memory_debug.h, which used to be called
- * drm_memory.h. If you want the debug functionality, change 0 to 1
- * below.
+ * drm_memory.h. If you want the debug functionality, set DRM_DEBUG_MEMORY
+ * to 1 in drmP.h.
*/
-#define DEBUG_MEMORY 0
-
-#if DEBUG_MEMORY
+#if DRM_DEBUG_MEMORY
#include "drm_memory_debug.h"
#else
void DRM(mem_init)(void)