Skip to contentSkip to conversation

Don't force frame pointers for lockdep on MIPS

PATCH New Franck Bui-Huu 1 participant 1 message Apr 19, 2007

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

PATCH 1/1 Don't force frame pointers for lockdep on MIPS

From: Franck Bui-Huu <[email protected]>

Stacktrace support on MIPS doesn't use frame pointers. Since this option considerably increases the size of the kernel code, force lockdep to not use it.

---
 lib/Kconfig.debug |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
lib/Kconfig.debug +1 -1
index 3f3e740..79afd00 100644
@@ -261,7 +261,7 @@ config LOCKDEP
 	bool
 	depends on DEBUG_KERNEL && TRACE_IRQFLAGS_SUPPORT && STACKTRACE_SUPPORT && LOCKDEP_SUPPORT
 	select STACKTRACE
-	select FRAME_POINTER if !X86
+	select FRAME_POINTER if !X86 && !MIPS
 	select KALLSYMS
 	select KALLSYMS_ALL
 
Signature · 1 line
1.5.1.1