aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-11-09 09:39:06 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2016-11-09 11:27:54 -0500
commit4b514e10157a8e34a5e909487ef6fb8342e2e3ad (patch)
tree110f192b9a73965249862eaf4def3cea95115779
parent77d150b90d58ae6a43bf67af28feb26384d06cd6 (diff)
drm: Make DRM_DEBUG_MM depend on STACKTRACE_SUPPORT
0day continues to complain about trying to save a stacktrace for the users of the drm_mm range allocator. This time, it is that m68k has no save_stack_trace(), which is apparently guarded by STACKTRACE_SUPPORT. Make it depend so! Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/20161109143906.11057-1-chris@chris-wilson.co.uk
-rw-r--r--drivers/gpu/drm/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
index d6ee0592b625..2ac0a564af60 100644
--- a/drivers/gpu/drm/Kconfig
+++ b/drivers/gpu/drm/Kconfig
@@ -37,6 +37,7 @@ config DRM_DEBUG_MM
37 bool "Insert extra checks and debug info into the DRM range managers" 37 bool "Insert extra checks and debug info into the DRM range managers"
38 default n 38 default n
39 depends on DRM=y 39 depends on DRM=y
40 depends on STACKTRACE_SUPPORT
40 select STACKDEPOT 41 select STACKDEPOT
41 help 42 help
42 Enable allocation tracking of memory manager and leak detection on 43 Enable allocation tracking of memory manager and leak detection on