[PATCH] Don't force frame pointers for lockdep
Now that stacktrace supports dwarf2 don't force frame pointers for lockdep anymore
Cc: mingo@elte.hu
Signed-off-by: Andi Kleen <ak@suse.de>
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 554ee68..c795a17 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -218,7 +218,7 @@
bool
depends on DEBUG_KERNEL && TRACE_IRQFLAGS_SUPPORT && STACKTRACE_SUPPORT && LOCKDEP_SUPPORT
select STACKTRACE
- select FRAME_POINTER
+ select FRAME_POINTER if !X86
select KALLSYMS
select KALLSYMS_ALL