drm: Make DRM_DEBUG_MM depend on STACKTRACE_SUPPORT
authorChris Wilson <[email protected]>
Wed, 9 Nov 2016 14:39:06 +0000 (14:39 +0000)
committerDaniel Vetter <[email protected]>
Wed, 9 Nov 2016 16:27:54 +0000 (17:27 +0100)
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 <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Cc: Daniel Vetter <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/Kconfig

index d6ee0592b62560e451cc8040894467f9e4d2752b..2ac0a564af6030a1221c4ca77b73b633af92b4cf 100644 (file)
@@ -37,6 +37,7 @@ config DRM_DEBUG_MM
        bool "Insert extra checks and debug info into the DRM range managers"
        default n
        depends on DRM=y
+       depends on STACKTRACE_SUPPORT
        select STACKDEPOT
        help
          Enable allocation tracking of memory manager and leak detection on