]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/patches/suse-2.6.27.31/patches.suse/no-frame-pointer-select
Move xen patchset to new version's subdir.
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.suse / no-frame-pointer-select
CommitLineData
00e5a55c
BS
1From: Andi Kleen <andi@firstfloor.org>
2Subject: Fix stack unwinder Kconfig
3Patch-mainline: no
4References: bnc#402518
5
6Incremental patch for dwarf2 unwinder
7
8Fix the Kconfigs that do SELECT FRAME_POINTER to do select UNWIND_INFO
9instead.
10
11Signed-off-by: Andi Kleen <ak@linux.intel.com>
12Acked-by: Jan Beulich <jbeulich@novell.com>
13
14---
15 lib/Kconfig.debug | 6 ++++--
16 1 file changed, 4 insertions(+), 2 deletions(-)
17
18--- a/lib/Kconfig.debug
19+++ b/lib/Kconfig.debug
20@@ -694,13 +694,15 @@ config FAULT_INJECTION_STACKTRACE_FILTER
21 depends on FAULT_INJECTION_DEBUG_FS && STACKTRACE_SUPPORT
22 depends on !X86_64
23 select STACKTRACE
24- select FRAME_POINTER if !PPC
25+ select FRAME_POINTER if !PPC && !X86
26+ select UNWIND_INFO if X86 && !FRAME_POINTER
27 help
28 Provide stacktrace filter for fault-injection capabilities
29
30 config LATENCYTOP
31 bool "Latency measuring infrastructure"
32- select FRAME_POINTER if !MIPS && !PPC
33+ select FRAME_POINTER if !MIPS && !PPC && !X86
34+ select UNWIND_INFO if X86 && !FRAME_POINTER
35 select KALLSYMS
36 select KALLSYMS_ALL
37 select STACKTRACE