summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJeff Mahoney <jeffm@suse.com>2009-01-16 13:23:35 -0500
committerIngo Molnar <mingo@elte.hu>2009-01-18 21:15:10 +0100
commit64dec40ddee9d36d7b83f8a0513fdeaffe260a0e (patch)
tree3f4e6d689c2b8d49fee7d06bcfbcdd55f9f829bd /lib
parenta3c6018e565dc07cf3738ace6bbe412f97b1bba8 (diff)
downloadop-kernel-dev-64dec40ddee9d36d7b83f8a0513fdeaffe260a0e.zip
op-kernel-dev-64dec40ddee9d36d7b83f8a0513fdeaffe260a0e.tar.gz
x86: define ARCH_WANT_FRAME_POINTERS
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. Signed-off-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig.debug9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 4c9ae60..d30561d 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -570,6 +570,15 @@ config DEBUG_NOTIFIERS
This is a relatively cheap check but if you care about maximum
performance, say N.
+#
+# Select this config option from the architecture Kconfig, if it
+# it is preferred to always offer frame pointers as a config
+# option on the architecture (regardless of KERNEL_DEBUG):
+#
+config ARCH_WANT_FRAME_POINTERS
+ bool
+ help
+
config FRAME_POINTER
bool "Compile the kernel with frame pointers"
depends on DEBUG_KERNEL && \
OpenPOWER on IntegriCloud