Skip to contentSkip to conversation

x86: Define ARCH_WANT_FRAME_POINTERS

PATCH Applied Jeff Mahoney 2 participants 2 messages Jan 16, 2009 Library code

lore
Share & tools
lore
#0 lore raw

Commit da4276b8299a6544dc41ac2485d3ffca5811b3fb changed a dependency for FRAME_POINTER from X86 to ARCH_WANT_FRAME_POINTERS, but didn't actually define it.

This patch adds the definition for ARCH_WANT_FRAME_POINTERS. Without it, FRAME_POINTER can't be enabled on x86.

---

 lib/Kconfig.debug |    6 ++++++
 1 file changed, 6 insertions(+)
lib/Kconfig.debug +6 -0
@@ -570,6 +570,12 @@ config DEBUG_NOTIFIERS
 	  This is a relatively cheap check but if you care about maximum
 	  performance, say N.
 
+config ARCH_WANT_FRAME_POINTERS
+	bool
+       help
+        Select this config option from the architecture Kconfig, if it
+        it is preferred to always enable frame pointers on the architecture.
+
 config FRAME_POINTER
 	bool "Compile the kernel with frame pointers"
 	depends on DEBUG_KERNEL && \
Signature · 2 lines
Jeff Mahoney
SUSE Labs
Applied
#1 lore raw
Quoted 4 lines · Jeff Mahoney

Commit da4276b8299a6544dc41ac2485d3ffca5811b3fb changed a dependency for FRAME_POINTER from X86 to ARCH_WANT_FRAME_POINTERS, but didn't actually define it.

Quoted 8 lines

This patch adds the definition for ARCH_WANT_FRAME_POINTERS. Without it, FRAME_POINTER can't be enabled on x86.

---

 lib/Kconfig.debug |    6 ++++++
 1 file changed, 6 insertions(+)

Yes - doh! :-)

Applied to tip/x86/urgent, thanks Jeff!

Ingo