Skip to contentSkip to conversation

drm: Make DRM_DEBUG_MM depend on STACKTRACE_SUPPORT

PATCH New Chris Wilson 1 participant 1 message Nov 9, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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!

---
 drivers/gpu/drm/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/Kconfig +1 -0
index dd3d9ae97fe4..9f10c148a4b0 100644
@@ -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
Signature · 6 lines
2.10.2

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel